• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling synchronous AudioQueueStop() in output callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Calling synchronous AudioQueueStop() in output callback (From: Bankim Bhavsar <email@hidden>)

  • Prev by Date: Calling synchronous AudioQueueStop() in output callback
  • Next by Date: Re: Help: XCode 3.2 breaks XCode 3.1 projects
  • Previous by thread: Calling synchronous AudioQueueStop() in output callback
  • Next by thread: Re: Help: XCode 3.2 breaks XCode 3.1 projects (Artemiy Pavlov)
  • Index(es):
    • Date
    • Thread