• 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: Setting AUHALOutput for multichannel output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting AUHALOutput for multichannel output


  • Subject: Re: Setting AUHALOutput for multichannel output
  • From: Hidetomo Katsura <email@hidden>
  • Date: Mon, 12 Dec 2005 16:47:10 -0800

did you read the technote 2091? and the ComplexPlayThru or SimplePlayThru sample code? these are really helpful.

http://developer.apple.com/technotes/tn2002/tn2091.html
http://developer.apple.com/samplecode/ComplexPlayThru/ ComplexPlayThru.html
http://developer.apple.com/samplecode/SimplePlayThru/ SimplePlayThru.html


regards,
katsura
katsurashareware.com

On Dec 12, 2005, at 4:06 PM, Evan Olcott wrote:

I'm having a hard time understanding how I can set up the output unit to receive multiple channels for input.

I have an interface with 12 channels of output, and the stream format of the AUHAL reflects that. However, the stream format of the input (of the output unit) is defaulted to 2 (the first two), which makes sense.

I'd like my app to be able to play multichannel files to a set of these outputs - more than just the first 2.

I have a relatively long stream of units previous to this HAL (varispeed, a custom mixer, various AUs and a formatter), and I'd like it to be able to receive multichannel buffers all the way to the Render call (just before the formatter). The stream of the formatter is all set to receive it and it seems to be working with the Render call and all - but my first challenge is to be able to get the AUHAL output to be ready to receive more than 2 channels.

What properties of the AUHAL to I need to change? The stream format? Enable_IO? The Channel map? All or some of the above? I can't get a clear picture from any documentation (or a relatively thorough mailing list search)...

How should I proceed?

Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering

http://www.audiofile-engineering.com/
_______________________________________________
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: 
 >Setting AUHALOutput for multichannel output (From: Evan Olcott <email@hidden>)

  • Prev by Date: Setting AUHALOutput for multichannel output
  • Next by Date: Newbie and AU plugin Dev
  • Previous by thread: Setting AUHALOutput for multichannel output
  • Next by thread: Re: Setting AUHALOutput for multichannel output
  • Index(es):
    • Date
    • Thread