• 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 latency problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueue latency problem


  • Subject: Re: AudioQueue latency problem
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 10 Mar 2008 11:32:47 -0700


On 10 Mar '08, at 7:59 AM, Mark's Studio wrote:

I did not spend that much time with the AudioQueue, but i think if low latency is a must, it's better to have full control over things.

Yup. AudioQueue is clearly intended as the *simple* way to play/record audio. Part of the simplicity is that you don't have to worry about threading, because it invokes your callbacks on your main thread's runloop. But the trade-off is that the latency of on-runloop calls is unpredictable (because your app might be taking a long time to handle some other event), so the queue implementation has to do a lot of buffering to make sure it doesn't underrun.


—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

  • Follow-Ups:
    • Re: AudioQueue latency problem
      • From: William Stewart <email@hidden>
References: 
 >AudioQueue latency problem (From: Stefan Agamanolis <email@hidden>)
 >Re: AudioQueue latency problem (From: Mark's Studio <email@hidden>)
 >Re: AudioQueue latency problem (From: Stefan Agamanolis <email@hidden>)
 >Re: AudioQueue latency problem (From: Mark's Studio <email@hidden>)

  • Prev by Date: MIDI-controller plugin basic
  • Next by Date: Recording result of an offline effect
  • Previous by thread: Re: AudioQueue latency problem
  • Next by thread: Re: AudioQueue latency problem
  • Index(es):
    • Date
    • Thread