• 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: Using more than stereo in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using more than stereo in OSX


  • Subject: Re: Using more than stereo in OSX
  • From: Brian Willoughby <email@hidden>
  • Date: Thu, 03 Jan 2013 10:47:03 -0800


On Jan 2, 2013, at 09:32, Nuno Fonseca wrote:
I need to create a OSX standalone program that will send audio to several outputs (more than stereo). The audio information will be generated inside the application (no audio files or similar, but low level audio).

Within CoreAudio, what is the best way to do it?
So far, it seems that i need to use Audio Units, because Audio queue only works with mono or stereo. Is this correct?


You can open the output device directly and send to any number of busses and any number of channels, provided that the device supports them. You can use the Default Audio Output Device, which will automatically interleave and deinterleave channels as necessary to match the device busses, and will also convert sample rates. You can use the AUHAL without being limited to the Default Audio Output Device, and it will work just as easily with regard to channels and sample rates.

The above are described in the CoreAudio documentation.

"Audio Units" is somewhat vague. In general, I always assume that "Audio Units" implies an AUHost with an AUGraph that patches together several AudioUnit processing plug-ins. The AUHAL and others above are not programmed quite the same way as host software with a graph; although they're all technically AudioUnits, I think it's important to distinguish the differing programming needs.

Brian Willoughby
Sound Consulting

_______________________________________________
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: 
 >Using more than stereo in OSX (From: Nuno Fonseca <email@hidden>)

  • Prev by Date: Re: Plugins validate but don't appear in Garageband or Ableton Live
  • Next by Date: Clip AudioBufferList to a Range
  • Previous by thread: Re: Using more than stereo in OSX
  • Next by thread: Re: more ausampler questions....
  • Index(es):
    • Date
    • Thread