-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symphonia impl total_duration #405
Comments
Bit of a novice here, but it looks like the sampling rate and total number of frames are both available in |
Not all formats have streams where each frame has the same number of samples. E.g. in vorbis the number can vary from frame to frame. |
I needed this as part of #513. I implemented it following the suggested approach in the symphonia documentation |
https://github.com/RustAudio/rodio/blob/master/src/decoder/symphonia.rs#L136
Just wanted to create an issue tracking this.
Am also curious if there is any active work on this?
Thank you!
The text was updated successfully, but these errors were encountered: