Closed stijnvdb88 closed 3 years ago
This is likely caused by iOS changing the IO render size during screen lock (https://developer.apple.com/library/archive/qa/qa1606/_index.html).
Should be fixable by either increasing kAudioUnitProperty_MaximumFramesPerSlice (not sure how to get to that with AVAudioEngine), or setting AVAudioSession's setPreferredIOBufferDuration
kAudioUnitProperty_MaximumFramesPerSlice
setPreferredIOBufferDuration
With version 1.2 this works like a charm now.
Thanks so much! I'm really impressed by your support. <3
For reference, here are my specs:
Fantastic, thanks!
This is likely caused by iOS changing the IO render size during screen lock (https://developer.apple.com/library/archive/qa/qa1606/_index.html).
Should be fixable by either increasing
kAudioUnitProperty_MaximumFramesPerSlice
(not sure how to get to that with AVAudioEngine), or setting AVAudioSession'ssetPreferredIOBufferDuration