Click here to Skip to main content
15,885,212 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been searching and scouring the web for help with setting audio properties from code. I have several systems in each of several locations that are regularly used to capture spoken audio through the microphone. To insure that the captured audio is sufficiently clear I need to be able to programmatically set, if needed, certain audio settings to insure parity across the network on startup, like microphone and speaker volumes, to prescribed values. For some of these systems I need to be able to set the Microphone Boost.

With XP I was able to use the AudioMixer library, however, this doesn't do everything on Win7 systems which is what I have now. I have looked at the CoreAudioApi library for the Master Volume but I can't find anything that shows how to set the Microphone Boost, which now shows as a slider/numeric control instead of a simple checkbox. All other information I have found is written in C++, to which I am a rank novice, and one of those examples left the impression that while Microphone Boost was found using IDeviceTopology, it couldn't be set.

Any clear help on getting this done would be greatly appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900