Re: Calling synchronous AudioQueueStop() in output callback
Re: Calling synchronous AudioQueueStop() in output callback
- Subject: Re: Calling synchronous AudioQueueStop() in output callback
- From: Bankim Bhavsar <email@hidden>
- Date: Fri, 18 Mar 2011 19:09:58 -0700
Just to clarify, application is running on Mac OS 10.6.6 on MacPro1,1.
-Bankim.
On Fri, Mar 18, 2011 at 2:26 PM, Bankim Bhavsar
<email@hidden> wrote:
> Hello CoreAudio folks,
>
> Using output audio queue for playback on audio queue's internal thread.
>
> status = AudioQueueNewOutput(&format,
> SoundAQOutputCB, // Callback
> stream, // Client data
> NULL, //
> Use CoreAudio's internal thread
> kCFRunLoopCommonModes,
> 0,
> &stream->audioQueue);
>
> In the application at times I need to stop audio queue synchronously.
>
> Question:
> Is it okay to stop audio queue *synchronously* in the output callback
> itself (on audio queue;s internal thread) with AudioQueueStop(queue,
> true)?
> Can this lead to a deadlock internally in CoreAudio sound subsystem?
>
> Thanks,
> Bankim.
>
_______________________________________________
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