How to obtain the current playing time and position when rodio plays music files
How to obtain the current playing time and position when rodio plays music files
At present, I want to try to build a simple music playing software,
Music playing software needs the most basic
"Total duration" of music files
Current play position "Play time position"
Jump to the specified position "Time Position"
I don't know how to get the "play time position" at present
Thank you for your help
Does the functionality in #510 fulfill the "Play Time Position"?
Total Duration should be possible with Source::total_duration() although as far as i saw only the flac decoder does actually provide the relevant API.
It should be quite easy to add it to the symphonia decoders, as long as the relevant header parts are filled in the music files.