Switches

[The feature associated with this page, Audio Mixers, is a legacy feature. It has been superseded by Volume Controls. Volume Controls has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Volume Controls instead of Audio Mixers, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The switch controls are two-state switches. These controls use the MIXERCONTROLDETAILS_BOOLEAN structure to retrieve and set control properties. The following table describes the types of switches.

Control Description
Boolean The generic switch. It can be set to TRUE or FALSE.
Button Set to TRUE for all buttons that the driver should handle as though they had been pressed. If the value is FALSE, no action is taken.
On/Off An alternative switch that is represented by a graphic other than the one used for the Boolean switch. It can be set to ON or OFF.
Mute Mutes an audio line (suppressing the data flow of the line) or allows the audio data to play. This switch is frequently used to help control the lines feeding into the mixer.
Mono Switches between mono and stereo output for a stereo audio line. Set to OFF to play stereo data as separate channels. Set to ON to combine data from both channels into a mono audio line.
Loudness Boosts low-volume bass for an audio line. Set to ON to boost low-volume bass. Set to OFF to set volume levels to normal. The amount of boost is hardware specific. For more information, see the documentation for your mixer device.
Stereo Enhanced Increases stereo separation. Set to ON to increase stereo separation. Set to OFF for no enhancement.