Access Balance/Fader Control with WaveAudio

Please discuss general Delphi programming topics here.

Access Balance/Fader Control with WaveAudio

Postby Tommyjunge » February 21st, 2006, 8:26 pm

Hi,

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

Regards,

Thomas
Tommyjunge
Active Member
Active Member
 
Posts: 17
Joined: January 31st, 2006, 7:03 pm

Postby Kambiz » February 21st, 2006, 10:29 pm

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
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron