Re: Re: AudioQueue run loop newbie question
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