How can I programmatically control the Microphone and Microphone Boost settings in Win7 from C#?

前端 未结 4 750
醉话见心
醉话见心 2021-01-21 23:36

Windows 7 has some new audio settings which I haven\'t been able to control from my C# application. Specifically, within the Input (microphone) properties, there is a Levels Ta

4条回答
  •  青春惊慌失措
    2021-01-21 23:50

    You can use a very useful library built around windows mixer by Caster Tiu from http://www.codeproject.com/KB/audio-video/AudioLib.aspx?msg=1323850

    According to documentation on this page:

    Specific controls like Fadder, Microphone Boost, bass, treble, etc. can be accessed via the MixerControl object using ValueAsSigned, ValueAsUnsigned and ValueAsBoolean properties, but they are not implemented as standard properties because they don't belong to all controls.

提交回复
热议问题