Re: AudioQueue latency problem
Re: AudioQueue latency problem
- Subject: Re: AudioQueue latency problem
- From: Jens Alfke <email@hidden>
- Date: Mon, 10 Mar 2008 11:32:47 -0700
On 10 Mar '08, at 7:59 AM, Mark's Studio wrote:
I did not spend that much time with the AudioQueue, but i think if
low latency is a must, it's better to have full control over things.
Yup. AudioQueue is clearly intended as the *simple* way to play/record
audio. Part of the simplicity is that you don't have to worry about
threading, because it invokes your callbacks on your main thread's
runloop. But the trade-off is that the latency of on-runloop calls is
unpredictable (because your app might be taking a long time to handle
some other event), so the queue implementation has to do a lot of
buffering to make sure it doesn't underrun.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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