Copyright © 2006-2018 MultiMedia Soft

WASAPI.ListenInputDeviceStop method

Previous pageReturn to chapter overviewNext page

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 WASAPI object and the How to manage audio flow through WASAPI tutorial.

 

 

Syntax

 

[Visual Basic]

control.WASAPI.ListenInputDeviceStop (

nInputDeviceIndex as Integer

) as enumErrorCodes


 

[C++]

short control.WASAPI.ListenInputDeviceStop (

short 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, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful