Page 1 of 1

Switching the microphone boost

PostPosted: November 19th, 2005, 12:06 am
by Edwin
Hi,


I am using the TAudioMixer for viewing and making audio settings.
I would like to switch on the microphone boost by software. Can I do that with the TAudioMixer component? Is there another way to do that?

Edwin

PostPosted: January 31st, 2006, 3:18 pm
by Kambiz
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 microphone boost, of course if exists.
  3. Use mixerGetControlDetails and mixerSetControlDetails to get and set the control's value.
Cheers

PostPosted: March 6th, 2006, 4:25 pm
by Edwin
Hi,

Thanx for your reply. I didn't had time to work on the audiosettings yet, but now I can try to make boost option work.

With all the best wishes,

Edwin