iPhone AudioUnit sporadic play out failure
iPhone AudioUnit sporadic play out failure
- Subject: iPhone AudioUnit sporadic play out failure
- From: Tim Dorcey <email@hidden>
- Date: Sat, 23 Mar 2013 20:07:31 -0700
I am using kAudioUnitSubType_VoiceProcessingIO AudioUnit in my iPhone app. All works fine, but occasionally the audio output will fail. This seems to happen when the app has been running for a while, usually for some days. Quitting and restarting the app fixes it, though it may also resume working spontaneously. Having caught this condition for the first time myself, I saw the following in the console log, with the last error repeating itself about every ~24 msec for about 1 second. Now the audio is working correctly, but I still see this same error sequence appearing whenever I shut down my AudioUnit/AUGraph and session. At least it is repeatable! Any idea what I am doing wrong? Any advice for proper tearing down of an AudioUnit/AudioGraph? I have a mixer AU to mix multiple channels on the output.
iPhone mediaserverd[37] <Error>: 19:37:14.709 <0x4961000> _vp: processdl: tryer failed to acquire lock
iPhone mediaserverd[37] <Error>: 19:37:14.715 <0x4961000> _vp: appspkrtel: tryer failed to acquire lock
iPhone mediaserverd[37] <Error>: 19:37:14.716 <0x4961000> _vp: processdl: tryer failed to acquire lock
iPhone mediaserverd[37] <Error>: 19:37:14.785 <0x4961000> _vp: appspkrtel: SERIOUS ERROR: received 76940792 samples, expected = 0
Thanks,
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden