Re: ChannelName Dictionary for CA drivers
Re: ChannelName Dictionary for CA drivers
- Subject: Re: ChannelName Dictionary for CA drivers
- From: Jeff Moore <email@hidden>
- Date: Wed, 12 Dec 2007 11:57:12 -0800
There are three kinds of channel names that are supported. There's the
full channel name is the full, human readable name for the channel
(eg: Analog Input 3, SPDIF Out Left, ). The other two kinds, the
channel category name and the channel number name, work together to
allow for grouping together similar channels. For example a GUI
showing channel strips would use the category and number names like
this:
-------- Category -------
| | | |
| | | |
Number Number Number Number
| | | |
| | | |
At any rate, the driver provides the name strings to the HAL via
dictionaries in the IORegistry at the keys,
kIOAudioEngineFullChannelNamesKey,
kIOAudioEngineFullChannelCategoryNamesKey, and
kIOAudioEngineFullChannelNumberNamesKey. For all three dictionaries,
the key for each channel is constructed from
kIOAudioEngineFullChannelNameKeyInputFormat and
kIOAudioEngineFullChannelNameKeyOutputFormat. The value will be the
name in the form of a string (which can be further localized using the
driver's resource bundle in the usual way).
On Dec 11, 2007, at 5:11 PM, B.J. Buchalter wrote:
Can anyone point me to the documentation that describes how we are
supposed to implement the Channel Name dictionary properties for our
Core Audio drivers? Is there sample code for this or an example of
it in Open Source?
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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