RustAudio / rodio

Rust audio playback library
Apache License 2.0
1.66k stars 214 forks source link

always seek to start in mp3::is_mp3() #543

Closed spookyvision closed 4 months ago

spookyvision commented 4 months ago

the doc comment for this method states /// Returns true if the stream contains mp3 data, then resets it to where it was. but the current code only seeks back to the original position if the data isn't MP3. This PR changes it so that it always resets.