Re: HALOutputUnit
Re: HALOutputUnit
- Subject: Re: HALOutputUnit
- From: James Coker <email@hidden>
- Date: Thu, 8 Jan 2004 23:59:41 -0700
No converter seems to be necessary. All channels from the target
device are conveniently flattened onto one bus (makes it easy to
hook in a MatrixMixer.... Output channels are on the input side of bus
0,
input channels are on the output side of bus 1.
I was able to easily set one up to replace a DefaultOutputUnit. You
can use
AudioDeviceGetProperty calls to get the device id's and names. Then
set the
CurrentDevice property with one of those ID's. Dunno yet how to
determine
how many channels are available. Some obvious targets
(SupportedNumChannels
and get property info on ChannelMap) don't seem to work.
Jim
On Jan 8, 2004, at 7:15 PM, Robert Grant wrote:
What properties need to be set to make it happy? I imagine that once
it's configured it probably behaves in a similar manner to the
DefaultOutputUnit?
I think the DefaultOutputUnit does some fancy footwork to convert the
canonical format to the device format - would a HALOutputUnit do this
by default or would we have to connect it to an Converter before
wiring it into a graph for example?
Robert.
_______________________________________________
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.