RustAudio / rodio

Rust audio playback library
Apache License 2.0
1.72k stars 223 forks source link

MP3 current_ frame_ Len and total_ Duration will never change #458

Open yunfengwangluo opened 1 year ago

yunfengwangluo commented 1 year ago

MP3 source. current frame The value returned by len() is always Some (2304)

source. total_ The value returned by duration is always None

Several different music files have been tested. This cannot be a problem with the music file itself. Other music players can obtain it normally

Or is there any other similar open source project recommended!!

pablo-lua commented 1 year ago

I have seen the same trouble, total duration doesn't return nothing at all...

Nickiel12 commented 1 year ago

I am having the same issue with total_duration returning None on any mp3 file

Nickiel12 commented 1 year ago

A fix is proposed in PR #481?

PraxTube commented 1 year ago

This issue seems to still be present. Does anyone have a workaround for this, or is .wav and other files the way to go here?