opusinfo: Add total playback samples to output (#40)#41
opusinfo: Add total playback samples to output (#40)#41anthumchris wants to merge 1 commit intoxiph:masterfrom anthumchris:show-playback-samples
Conversation
|
Thanks for the pull request. Opus can decode at different sample rates, and the number of samples that you get would depend on the decoded sample rate. In the Ogg container timestamps use granule position which measures in units of 1/48000 s, and the difference in granule position is what you are displaying here. So this is really a time, just with units that are different than what most people are used to. How about just extending the existing playback time to 5 digits after the decimal point so that no precision is lost? That should be more clear, and also more concise than adding another line of output to show the same thing with more precision. |
|
Good point...I've been living in |
Adds "Playback samples" used to calculate the total duration in output.
closes #40