MPMusicPlayer inaccurate currentPlaybackTime for VBR audio
When I seek to a position in a non-vbr mp3 by setting MPMusicPlayer's currentPlaybackTime property, I'm able to seek accurately. When I seek to the same position with a VBR mp3, it seeks to a further position in the audio file. The difference between the accurate seek position and given seek position seems to increase the further into the VBR file I seek.
Is this a known quirk of MPMusicPlayer? 开发者_如何学JAVAIs there a way around it using MPMusicPlayer or do I have to decode to PCM to get accurate seeking in VBR audio?
Thanks!
its too late, but I currently have the same problem, this thread Why does MPMoviePlayerController setCurrentPlaybackTime goes to the wrong time? is speaking about a similar thing, but I cannot use the solution presented there, may be you can :)
P.S: if you've already found a different solution please post it here that we can learn it too :)
精彩评论