Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何简单的方法可以使用 c# 控制 Windows 7 中的单个扬声器音量?
我只想将音量设置为“预设”,因为 Windows 喜欢随机重置它们......
从这里开始,
在 Vista 和 Win 7 的 CoreAudio API 中使用IAudioMeterInformation。
NAudio中提供了托管包装器(从 MMDevice 获取 AudioMeterInformation)。
也检查一下Get Master Sound Volume in c#