• 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: possible audio buffer underrun & load balancing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible audio buffer underrun & load balancing


  • Subject: Re: possible audio buffer underrun & load balancing
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 27 Oct 2005 14:18:19 -0700

If you have two graphs that are both using the same hardware device, both graphs get pulled on from the same IO thread in series. Thus the net effect of splitting one graph into two in terms of performance is at best a wash and might even be slower due to any extra overhead.

You need to divide your work up between threads not just graphs. You'll need to create and manage your own auxiliary work threads (and their requisite synchronization requirements) to really take advantage of multiple processors.

On Oct 27, 2005, at 1:39 PM, Khamba Staring wrote:

Very informative, thank you. Just one more question, about audiographs: is it at all wise to create more than one (with evenly balanced unit load), when multiple processors are available? Or would this depend on the type of application at hand?


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: 
 >possible audio buffer underrun & load balancing (From: Khamba Staring <email@hidden>)
 >Re: possible audio buffer underrun & load balancing (From: Jeff Moore <email@hidden>)
 >Re: possible audio buffer underrun & load balancing (From: Khamba Staring <email@hidden>)

  • Prev by Date: Re: possible audio buffer underrun & load balancing
  • Next by Date: ANN: TOE - A Library for MIDI Programming
  • Previous by thread: Re: possible audio buffer underrun & load balancing
  • Next by thread: Tutorials
  • Index(es):
    • Date
    • Thread