• 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
Smallest buffer duration in AudioQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Smallest buffer duration in AudioQueue
      • From: tahome izwah <email@hidden>
  • Prev by Date: Re: Vienna Ensemble never sets kAudioUnitProperty_SetRenderCallback for AU effects
  • Next by Date: How to avoid sonic boom when changing pitch?
  • Previous by thread: Re: GCD
  • Next by thread: Re: Smallest buffer duration in AudioQueue
  • Index(es):
    • Date
    • Thread