Re: Routing Sound to MultiChannel Device
Re: Routing Sound to MultiChannel Device
- Subject: Re: Routing Sound to MultiChannel Device
- From: William Stewart <email@hidden>
- Date: Mon, 13 Mar 2006 12:09:56 -0800
The property you need to look at is:
kAudioOutputUnitProperty_ChannelMap
In general, you should provide a channel map that is the same size as
the number of source channels (your output unit's input) you are
providing to the output unit. Then, for each of these (ie. if you
have 2 input channels, then you have SInt32 chans[2]) you describe
which channel of the device you want that source channel to go too.
You must make sure that each output channel you specify is unique -
the output unit does NOT do mixing.
Bill
On 13/03/2006, at 9:16 AM, Mark Coniglio wrote:
Hi,
Is it possible to tell the DefaultOutputUnit to route it's sound
output to any channel (or pair of channels) on the currently
connected multi-channel sound output device?
Or can I only use an AudioDeviceOutput output to route the sound
in this way?
Could someone point me to sample code of how to route sound to the
various outputs on a multi-cahnnel device?
Many Thanks,
Mark
--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater | http://www.troikaranch.org
=====================================================================
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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