alexbw / novocaine

Painless high-performance audio on iOS and Mac OS X
http://alexbw.github.com/novocaine/
MIT License
2.23k stars 273 forks source link

AudioFileReader currentTime goes past the duration #107

Open chloebelle opened 9 years ago

chloebelle commented 9 years ago

Hi,

I am using this library for a music app. Thanks for the great library! Anyway, I noticed that for some songs the AudioFileReader currentTime goes past the duration. For example there's this song that has a duration of 234.143997 with a last current time of 253.638702. I am not that familiar with audio and I wonder if there's a property that I can set to minimize the difference. Btw, I also tried timing the song while it's playing and the duration is just right(the song plays for 234 sec) but the currentTime exceeded. Thanks!

jackhumphries commented 8 years ago

I'm having a similar issue, but in my case, the current time is sometimes negative and it never reaches the duration.