IAudioChannelConfig interface (devicetopology.h)
The IAudioChannelConfig interface provides access to a hardware channel-configuration control. The client obtains a reference to the IAudioChannelConfig interface of a subunit by calling the IPart::Activate method with parameter refiid set to REFIID IID_IAudioChannelConfig. The call to IPart::Activate succeeds only if the subunit supports the IAudioChannelConfig interface. Only a subunit object that represents a hardware channel-configuration control will support this interface.
A client of the IAudioChannelConfig interface programs a hardware channel-configuration control by writing a channel-configuration mask to the control. The mask specifies the assignment of audio channels to speakers. For more information about channel-configuration masks, see the following:
- The discussion of the KSPROPERTY_AUDIO_CHANNEL_CONFIG property in the Windows DDK documentation.
- The white paper titled "Audio Driver Support for Home Theater Speaker Configurations" at the Audio Device Technologies for Windows website.
The IAudioChannelConfig interface inherits from the IUnknown interface. IAudioChannelConfig also has these types of members:
The IAudioChannelConfig interface has these methods.
The GetChannelConfig method gets the current channel-configuration mask from a channel-configuration control.
The SetChannelConfig method sets the channel-configuration mask in a channel-configuration control.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|