• 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: AudioQueueNewInput: how to adjust callback rate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueueNewInput: how to adjust callback rate?


  • Subject: Re: AudioQueueNewInput: how to adjust callback rate?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 20 May 2008 07:46:23 -0700


On 20 May '08, at 6:44 AM, Jeremy Friesner wrote:

So, any way to adjust this? Ideally I'd like my callback to be called at a steady rate, e.g. exactly once every 100ms.

If you want callbacks at a constant rate, use an event loop timer, either NSTimer or the Carbon equivalent. AudioQueue is optimized for audio playback, not for steady timing.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >AudioQueueNewInput: how to adjust callback rate? (From: "Jeremy Friesner" <email@hidden>)

  • Prev by Date: AudioQueueNewInput: how to adjust callback rate?
  • Next by Date: Re: AudioQueueNewInput: how to adjust callback rate?
  • Previous by thread: AudioQueueNewInput: how to adjust callback rate?
  • Next by thread: Re: AudioQueueNewInput: how to adjust callback rate?
  • Index(es):
    • Date
    • Thread