I am using multiple instances of AVAudioPlayer to play multiple sound files in a succession.
I am noticing that there is a roughly one second pause when two different sound files are played. Is it possible to eliminate this one second pause? I call [myPlayer prepareToPlay] for each player ahead of time already.
According to
AVAudioPlayerdocumentation you could useplayAtTime:for synchronized playing.Modified example would look like this:
I didn’t test this but guess it should work. You should of course rename
playerandsecondPlayeraccording to you names.