• 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
Multiple Output Music Device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Output Music Device


  • Subject: Multiple Output Music Device
  • From: Art Gillespie <email@hidden>
  • Date: Thu, 16 Oct 2003 23:16:39 -0400

Ignoring the hacks I've had to use get multiple output AUs working in the past,
I'm a bit curious as to whether I've got how it's *supposed* to work right:

- Audio Unit reports the number of outputs to MusicDeviceBase constructor, this
number corresponds to the number of output busses (elements on the output
scope).

- Audio Unit reports the total number of channels via SupportedNumChannels().
For example, if I had two stereo pairs and two mono outs, I'd report 4 as my
number of outputs, and { 0, 6 } in response to SupportedNumChannels()

- Host interrogates the Audio Unit for number of output busses via
kAudioUnitProperty_BusCount

- For *each* output bus (element on the output scope), Host interrogates the
Audio Unit for the element's StreamFormat via kAudioUnitProperty_StreamFormat

- During render, AU calls GetOutput(n) to get the AudioBufferList for the nth
bus. Each buffer list's mNumberBuffers member should correspond with the
CAStreamBasicDescription.mChannelsPerFrame member returned by
kAudioUnitProperty_StreamFormat.

Is this right? Am I missing anything?

Best,

Art
>>0xBA
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Multiple Output Music Device
      • From: William Stewart <email@hidden>
  • Prev by Date: CoreAudio update in QuickTime 6.4
  • Next by Date: Re: Multiple Output Music Device
  • Previous by thread: CoreAudio update in QuickTime 6.4
  • Next by thread: Re: Multiple Output Music Device
  • Index(es):
    • Date
    • Thread