如何使用c#设置高级音频设置 [英] How to set advanced audio settings with c#

查看:118
本文介绍了如何使用c#设置高级音频设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个工具,用于调整扬声器属性和麦克风属性的设置,否则这些设置将从控制面板手动设置。



这会影响多个地点的多个工作站。该应用程序将在每个工作站上运行,并在启动时自动运行。目的是使工作站基线化,使记录和回放功能在每天的活动中保持一致。



应用程序的当前迭代设置麦克风增强&音量,扬声器音量和进行注册表设置。



此时我特别需要能够设置录制和播放的位深度和采样率。我已经看过很多文章讨论如何更改存储在文件头中的设置,但是我无法找到有关对硬件进行这些调整的任何可靠信息。



涉及数百个工作站,因此目标是节省每天手动设置所有工作站所需的时间。我非常感谢您找到制作这些设置的方法或如何以编程方式查找和阅读它们的任何帮助。

I am writing a tool that will adjust settings for the 'Speaker Properties' and 'Microphone Properties' that are otherwise set manually from Control Panel.

This affects multiple workstations in several locations. The app will live on each station and be auto run at boot up. The purpose is to baseline the workstation so that the record and playback functions will be consistent for each days activities across the board.

The current iteration of the app sets microphone boost & volume, speaker volume and makes a registry setting.

At this time I specifically need to be able to set the bit depth and sampling rate for both recording and playback. I have seen numerous articles that discuss changing the settings as stored in the file header but I haven't been able to locate any solid information on making these adjustments to the hardware.

There are hundreds of work stations involved and so the goal is to save the time that would otherwise be needed to manually set all workstations each day. I would greatly appreciate any help to locate the means of making these settings or how to locate and read them programatically.

推荐答案

Setaudio 命令 [ ^ ]使用适当的参数可以帮助你。
Setaudio command[^] with the proper parameters could help you.


这篇关于如何使用c#设置高级音频设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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