Page 1 of 1

Access Balance/Fader Control with WaveAudio

PostPosted: February 21st, 2006, 8:26 pm
by Tommyjunge
Hi,

how can I access the fader control for a Wave In device using the WaveAudio mixer component?

Regards,

Thomas

PostPosted: February 21st, 2006, 10:29 pm
by Kambiz
AudioMixer component of the Wave Audio package supports only Volume, Mute, and Select controls.

However, a solution could be:

  1. Call mixerGetLineControls with MIXER_GETLINECONTROLSF_ALL flag on microphone line to get all controls of the line.
  2. In the fetched controls, look for the fader.
  3. If the fader control found, use mixerGetControlDetails and mixerSetControlDetails to get and set the control's value.
Cheers