mahno
asked on
Microphone Boost
Hi,
Someone can tell me how can I using API functions (mixerXXX) turn on/off microphone boost? (Volume control->microphone->advan ced->micro phone boost)
PS: I'm using VC60 (OS Win9x/NT/2k)
Thanks
Someone can tell me how can I using API functions (mixerXXX) turn on/off microphone boost? (Volume control->microphone->advan
PS: I'm using VC60 (OS Win9x/NT/2k)
Thanks
The whole mixer-stuff is a LOT...you'd better look in the Help files for yourself, it's too much to expalin.
In platform SDK, there is a sample named MaxApp, it can switch the microphone boost on or off, you can check it's code.
sorry, not MaxApp, is MixApp.
sorry, not MaxApp, is MixApp.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi yz,
On my computer it's working only when I change "Mic Boost" to "Microphone Boost". I need a program that works on every PC. The parameter "szShortName" is equal to "Boost". Can I be sure that short name will be the same on every pc (independently of Windows version and regional settings(language)).
Thanks,
mahno
On my computer it's working only when I change "Mic Boost" to "Microphone Boost". I need a program that works on every PC. The parameter "szShortName" is equal to "Boost". Can I be sure that short name will be the same on every pc (independently of Windows version and regional settings(language)).
Thanks,
mahno
ASKER
I just a test this program on same pc - short name does not same, controlID too :( any suggestions?
Regards,
mahno
Regards,
mahno
ASKER
thanks yz,
I solve my problem by changing
if (NULL != strstr(paMixerControls[u]. szName, "Mic Boost"))
to
if (paMixerControls[u].dwCont rolType == MIXERCONTROL_CONTROLTYPE_O NOFF)
PS: U can take a look at my new multimedia question in "C++ Topic Area"
regards,
mahno
I solve my problem by changing
if (NULL != strstr(paMixerControls[u].
to
if (paMixerControls[u].dwCont
PS: U can take a look at my new multimedia question in "C++ Topic Area"
regards,
mahno