Re: AudioQueueNewInput: how to adjust callback rate?
Re: AudioQueueNewInput: how to adjust callback rate?
- Subject: Re: AudioQueueNewInput: how to adjust callback rate?
- From: Jens Alfke <email@hidden>
- Date: Tue, 20 May 2008 07:46:23 -0700
On 20 May '08, at 6:44 AM, Jeremy Friesner wrote:
So, any way to adjust this? Ideally I'd like my callback to be
called at a steady rate, e.g. exactly once every 100ms.
If you want callbacks at a constant rate, use an event loop timer,
either NSTimer or the Carbon equivalent. AudioQueue is optimized for
audio playback, not for steady timing.
—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