Default constructor for the TestDevice class.
Declaration Syntax
C# | Visual Basic |
public TestDevice( DriverType driverType, int deviceId, int frequency )
Public Sub New ( _ driverType As DriverType, _ deviceId As Integer, _ frequency As Integer _ )
Parameters
- driverType (DriverType)
- Driver type to use for playback (DirectSound, ASIO, WASAPI)
- deviceId (Int32)
- DeviceId to use for playback (use DeviceHelper to get DeviceId)
- frequency (Int32)
- Mixer sample rate/frequency