I'm playing back a longish audio file (20 seconds or so) using AVAudioPlayer. I need to be able to pause and start in the middle of the file. When I pause or start while the audio is playing, there's a noticeable "pop" as the audio starts or finishes.
I've been able to improve the situation by doing a very fast fade-out (setting the volume multiple times using performSelector: withObject: afterDelay. But the sound is still a little glitchy with this technique.
Is there a standard way to start/pause AVAudioPlayer without these glitches?
I've been able to improve the situation by doing a very fast fade-out (setting the volume multiple times using performSelector: withObject: afterDelay. But the sound is still a little glitchy with this technique.
Is there a standard way to start/pause AVAudioPlayer without these glitches?