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);
}
精彩评论