AVAudioPlayer seek performance is not good
We are a developing an application which is supposed to play long audio files. duration of audio file can be upto 23 hours...
we are trying to use this AVAuidoPlayer for this purpose. To perform fast forward we are setting CurrentTime property of AVAudioPlayer. if the forward duration is just few minutes or even upto 20 minutes everything works fine. But if we try to jump by say 2 hours time then setCurrentTime call on the player take too long time ( almost 30-40 seconds). This is not acceptable behavior.
please let me know if anybody managed to successfu开发者_运维问答lly use AVAudioPlayer setCurrentTime property to jump long durations (say 2 hours)
What is the file format of your file?
I had this problem with MP3, it worked better with AAC.
精彩评论