This class contains methods to help detect devices and test sounds.
Declaration Syntax
C# | Visual Basic |
public static class DeviceHelper
Public NotInheritable Class DeviceHelper
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
DetectOutputDevices()()()() |
Detects the output devices present in the system (DirectSound, ASIO, WASAPI).
| |
FindOutputDevice(DriverType, String) |
Find an output device by its driver type and its device name.
This is useful to get the actual deviceId because it can change if the
user plugs/unplugs a sound card.
| |
GetDefaultDirectSoundOutputDevice()()()() |
Returns the default DirectSound device.
If no device was no found, the value is null.
| |
GetDefaultWASAPIOutputDevice()()()() |
Returns the default WASAPI device.
If no device was no found, the value is null.
|
Inheritance Hierarchy
Object | |
DeviceHelper |