• 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: Re: AudioQueue run loop newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: AudioQueue run loop newbie question


  • Subject: Re: Re: AudioQueue run loop newbie question
  • From: Kasper Welner <email@hidden>
  • Date: Thu, 27 Jan 2011 22:27:10 +0100

Thanks for the reply.
I am running it on the main thread. Actually I have no idea of how to run it any other way! :-)
The way I understand it, I shouldn't have to do anything else than calling AudioQueueStart(queue, NULL), when AudioQueueNewOutput is run this way:

CheckError(
   AudioQueueNewOutput(&dataFormat,
   MyAQOutputCallback,
   &player,
   NULL,
   NULL,
   0,
   &queue),
   "AudioQueueNewOutput failed");

I have no idea what I am doing wrong!!

On Jan 27, 2011, at 21:50 PM, Samuel Kitono wrote:


printf("Playing...\n");
do {

} while (0 == 0);  
    
these lines shouldn't be necessary. If your audio queue doesnt run without this then something is wrong with your setup of audio queue. For example what kind of thread that you use for audio queue?

On Thu, Jan 27, 2011 at 7:46 PM, Kasper Welner <email@hidden> wrote:
 _______________________________________________
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

  • Prev by Date: Re: AudioQueue run loop newbie question
  • Next by Date: Re: latency on sidechain bus
  • Previous by thread: Re: AudioQueue run loop newbie question
  • Next by thread: Fwd: AudioQueue run loop newbie question
  • Index(es):
    • Date
    • Thread