Smallest buffer duration in AudioQueue
Smallest buffer duration in AudioQueue
- Subject: Smallest buffer duration in AudioQueue
- From: Aristotel Digenis <email@hidden>
- Date: Sat, 02 Jul 2011 01:26:55 +0000
- Importance: Normal
Hello everyone,
I have a basic AudioQueue setup with a callback that generates a sine wave. The problem is the when the buffers are under 125ms in duration, I get clicks. On a 48000Hz with 2 buffers each of 6000 frames long, it works fine. As soon as I drop the frames per buffer down to 5999, I get discontinuities. Increasing the number of buffer doesn't change things and the callback is very simple, just generating a sine wave.. so it can't be that it isn't generating the signal in-time.
This is all on an iMac with OS X 10.6 if that is of any help. Has anybody managed to get AudioQueue to work with less than 125ms latency/buffers? If so, how?
Thanks
|
_______________________________________________
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