WASAPI.ListenInputDeviceStop method |
|
Remarks
Stops the effect of a previous call to the WASAPI.ListenInputDeviceStart method.
This method is only intended for usage with Windows Vista and later versions.
For further details about the use of WASAPI see the WASAPIMan class and the How to manage audio flow through WASAPI tutorial
Syntax
[Visual Basic] Public Function ListenInputDeviceStop ( nInputDeviceIndex as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes ListenInputDeviceStop ( Int32 nInputDeviceIndex ); |
[C++] public: enumErrorCodes ListenInputDeviceStop ( Int32 nInputDeviceIndex ); |
Parameter |
Description |
|
|
nInputDeviceIndex |
Number representing the zero-based index of the WASAPI capture device of interest. |
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. |