Re: Smallest buffer duration in AudioQueue
Re: Smallest buffer duration in AudioQueue
- Subject: Re: Smallest buffer duration in AudioQueue
- From: tahome izwah <email@hidden>
- Date: Sat, 02 Jul 2011 13:49:58 +0200
How do you know how much overhead there is per buffer (data
conversion, sample rate conversion, loop overhead, EQ, scheduling)? It
could simply be that the accumulated overhead gets too large when you
reduce buffer size too much. This need not have anything to do with
the code that generates your sine wave...
--th
2011/7/2 Aristotel Digenis <email@hidden>:
> 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