我如何编程控制从C#在Win7麦克风和麦克风增益设置? [英] How can I programmatically control the Microphone and Microphone Boost settings in Win7 from C#?

查看:1801
本文介绍了我如何编程控制从C#在Win7麦克风和麦克风增益设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7中有一些新的音频设置,我一直无法从我的C#应用​​程序来控制。具体地,输入(麦克风)属性中,有一个包含麦克风和麦克风增益滑块一个级别选项卡,一个麦克风静音切换/复选框。

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 Tab containing Microphone and Microphone Boost sliders, and a Microphone mute toggle / checkbox.

我需要以编程方式确保麦克风没有被静音 - 但还没有找到必要的API来读取或设置的值

I need to programatically ensure that the Microphone is not muted--but have not found the necessary APIs to either read or set the values.

推荐答案

我是无法找到在这些特定的音量控制提供一个API。请添加新的答案,如果他们都可以,我会很乐意接受一个可行的解决方案。

I was unable to find an API that provided control over these specific volume levels. Please add new answers if they are available and I'll gladly accept a working solution.

这篇关于我如何编程控制从C#在Win7麦克风和麦克风增益设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆