IPerChannelDbLevel Interface

Previous Next

IPerChannelDbLevel Interface

The IPerChannelDbLevel interface represents a generic subunit control interface that provides per-channel control over the volume level, in decibels, of an audio stream or of a frequency band in an audio stream. A positive volume level represents gain, and a negative value represents attenuation.

Clients do not call the methods in this interface directly. Instead, this interface serves as the base interface for the following interfaces, which clients do call directly:

IPerChannelDbLevel inherits from the IUnknown interface. In addition to the methods inherited from IUnknown, IPerChannelDbLevel supports the following methods.

Method Description
GetChannelCount Gets the number of channels in the audio stream.
GetLevel Gets the volume level, in decibels, of the specified channel.
GetLevelRange Gets the range, in decibels, of the volume level of the specified channel.
SetLevel Sets the volume level, in decibels, of the specified channel.
SetLevelAllChannels Sets the volume levels, in decibels, of all the channels in the audio stream.
SetLevelUniform Sets all channels in the audio stream to the same uniform volume level, in decibels.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next