Re: AudioQueue Services approximate latency?
Re: AudioQueue Services approximate latency?
- Subject: Re: AudioQueue Services approximate latency?
- From: Eric Wing <email@hidden>
- Date: Fri, 5 Nov 2010 19:38:02 -0700
On 11/5/10, Stéphane Beauchemin <email@hidden> wrote:
> Hi Eric,
>
> I already try to ask for 16 bit little endian and it doesn't work. In fact
> you can even find leftover of this if you look in the code, the following
> line is commented:
> FillOutASBDForLPCM(outputASBD, 44100, 2, 16, 16, false, false, false);
>
This is the line that looks suspicious to me:
outputASBD.mFormatFlags = kAudioFormatFlagIsFloat |
kAudioFormatFlagIsPacked | kAudioFormatFlagIsNonInterleaved;
Note the flag: kAudioFormatFlagIsFloat
That is below your FillOutASBDForLPCM call so it will override
anything you may have done in that function.
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
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