Switching the microphone boost

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Switching the microphone boost

Postby Edwin » November 19th, 2005, 12:06 am

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
User avatar
Edwin
Active Member
Active Member
 
Posts: 18
Joined: November 18th, 2005, 11:57 pm
Location: Breda, NL

Postby Kambiz » January 31st, 2006, 3:18 pm

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

Postby Edwin » March 6th, 2006, 4:25 pm

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
User avatar
Edwin
Active Member
Active Member
 
Posts: 18
Joined: November 18th, 2005, 11:57 pm
Location: Breda, NL


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron