在Windows中,有哪些API使用C#配置扬声器设置? [英] What APIs exist to configure the speaker setup using C# in Windows?

查看:149
本文介绍了在Windows中,有哪些API使用C#配置扬声器设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我环顾了许多不同的地方,但是似乎找不到一种直截了当的方法.

I've looked around many different places, but can't seem to find a straighforward way of doing this.

我在Windows 7中有许多声卡,并使用HDMI将声音输出到我的AVR放大器.我的问题是,当放大器关闭时,会导致窗户失去扬声器配置.

I have a number of sound cards in Windows 7 and output sound to my AVR amp using HDMI. The problem I have is that when the amp switches off, it causes windows to lose the speaker configuration.

所以我要做的是编写一个小实用程序,将扬声器重新配置为5.1环绕声.我敢肯定有一种方法可以做到,但是我不知道从哪里开始,因为似乎有许多不同类型的API.

So what I want to do is write a small utility that will reconfigure the speakers to be 5.1 surround sound. I'm sure there is a way to do it, but I've no idea where to start as there seem to be many different types of API.

推荐答案

我相信现在这些东西是通过 Windows Core Audio 控制的-Windows Vista的主要新功能之一,没人注意到,因为它是几乎完全在幕后.

I believe nowadays these things are controlled via Windows Core Audio - one of the major new features of Windows Vista that nobody notices because it's almost entirely under the hood.

有一个声称是稳定的.NET包装器: http://netcoreaudio.codeplex.com/

There is a .NET wrapper that claims to be stable: http://netcoreaudio.codeplex.com/

这篇关于在Windows中,有哪些API使用C#配置扬声器设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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