## MMPM/2 Device Driver Reference

[prev][next][parent][TOC]

### VSD_SETMIXCONTROL - Example Code

The following code illustrates how to query the settings of an audio attributes for a particular connector.

      MIXERCONTROL   MixerControl;

      USHORT         usBass;

      MixerControl.ulControl = MIX_SUPPORT_VOLUME;

      MixerControl.ulLine = SINK_LINE_OUT;

      MixerControl.ulSetting = 100;

      lError = pInstance->((HVSD)pInstance->hvsd,

                          VSD_SET,

                          VSD_SETMIXCONTROL,

                          (PVOID)&MixerControl);

       return(lError);