开发者

Get soundcard name/info

How can I get the name of the soundcard and maybe a few inf开发者_如何学Pythonos about it when using C#?


Sadly discontinued but you can still find Managed DirectX which includes ...

using Microsoft.DirectX.DirectSound;

// List all Audio Cards
DevicesCollection devList = new DevicesCollection();

foreach (DeviceInformation dev in devList)
{
   this.AddToLog("Found {0}, {1}, {2}", dev.Description, dev.DriverGuid, dev.ModuleName);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜