• 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: Use of AudioQueue buffers in case of sound synthesis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of AudioQueue buffers in case of sound synthesis


  • Subject: Re: Use of AudioQueue buffers in case of sound synthesis
  • From: arab stab <email@hidden>
  • Date: Sun, 31 Jan 2010 08:23:17 +1100


One problem I am facing is about the 3-buffer approach: do I really need to allocate three queue buffers and invoke my callback render function three times in a loop? Isn't that purely insane from a performance point of view (IMHO I was already struggling with performance with a single callback).

You don't invoke the callback manually, it gets called when a buffer needs to be filled. And you get asked to fill one buffer at a time, the reason for multiple buffers is so that one can be playing while another is being filled, so multiple buffers make sense.
_______________________________________________
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: Use of AudioQueue buffers in case of sound synthesis
      • From: Doug Wyatt <email@hidden>
References: 
 >Use of AudioQueue buffers in case of sound synthesis (From: "cparodi.ugemi" <email@hidden>)

  • Prev by Date: kCFRunLoopCommonModes
  • Next by Date: Re: Use of AudioQueue buffers in case of sound synthesis
  • Previous by thread: Use of AudioQueue buffers in case of sound synthesis
  • Next by thread: Re: Use of AudioQueue buffers in case of sound synthesis
  • Index(es):
    • Date
    • Thread