• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioQueue Services approximate latency?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: AudioQueue Services approximate latency?
      • From: Stéphane Beauchemin <email@hidden>
References: 
 >Re: AudioQueue Services approximate latency? (From: Eric Wing <email@hidden>)
 >RE: AudioQueue Services approximate latency? (From: Stéphane Beauchemin <email@hidden>)

  • Prev by Date: AudioFileWritePackets data format
  • Next by Date: Re: AudioFileWritePackets data format
  • Previous by thread: RE: AudioQueue Services approximate latency?
  • Next by thread: RE: AudioQueue Services approximate latency?
  • Index(es):
    • Date
    • Thread