I'm using AVAudioEngine to play audio tracks with the added ability to change their playback rate and pitch. I'm finding that the audio will stutter or crackle when I do things like open a full-screen view, present a blurred visualEffectView, or basically anything that uses up standard main thread UI resources.
In the past I used the system music player and AVAudioPlayer and they seem immune to these kinds of issues, presumably because they're both buffering and using their own threads to stay responsive.
Is there any way to achieve the same solid performance with AVAudioEngine?