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

前端 未结 4 743
醉话见心
醉话见心 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-22 00:06

    The IAudioEndpointVolume interface might work for you. It has functions to get/set mute state and volume levels for a recording or playback device.

    Reference: http://msdn.microsoft.com/en-us/library/windows/desktop/dd370892(v=vs.85).aspx

提交回复
热议问题