ASIO.DeviceStop method |
|
Remarks
Stops the given ASIO device previously started through a call to the ASIO.DeviceStart method or through the ASIO.DeviceListenInputStart method.
You can know if a certain device is started or stopped through the ASIO.DeviceIsStarted method.
For further details about the use of ASIO drivers see the ASIO object section and the How to manage ASIO drivers tutorial.
Syntax
[Visual Basic] control.ASIO.DeviceStop ( nDeviceIndex as Integer ) as enumErrorCodes |
[C++] short control.ASIO.DeviceStop ( short nDeviceIndex ); |
Parameter |
Description |
|
|
nDeviceIndex |
Number representing the zero-based index of the ASIO device. This index is related to available ASIO devices so it must be the related to the enumeration performed through the ASIO.DeviceGetCount and ASIO.DeviceGetDesc methods: it must not be confused with indexes related to generic output devices enumerated through the GetOutputDevicesCount and GetOutputDeviceDesc methods which may contain both DirectSound and ASIO devices. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |