[iPhone 3.1] kAudioQueueErr_QueueInvalidated handling
[iPhone 3.1] kAudioQueueErr_QueueInvalidated handling
- Subject: [iPhone 3.1] kAudioQueueErr_QueueInvalidated handling
- From: John Michael Zorko <email@hidden>
- Date: Tue, 02 Mar 2010 11:01:46 -0800
Hello, all ...
Has anyone written code to handle this error condition? I'm seeing it fairly often -- 2-3 times per day perhaps. It doesn't always happen, but when it does, it's always when the app enqueues its' first buffer to the audio queue, and since trying to find the cause of why mediaserverd up and hangs (encoder? error in transmission? passing UFO? something weird happened the last time the app was run?) has proven to be maddening, i'm just going to try to handle the error in code.
Would calling AudioQueueReset() be enough, or should I call AudioQueueStop() / AudioQueueDispose(), then AudioQueueNewOutput() again? If anyone has experience handling this error in code, i'd love to hear of strategies you took in doing so :-)
Regards,
John
_______________________________________________
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