Remarks
Stops a playback previously activated through a call to the PlaySoundFromRecorderEx method.
A successful call to this method invokes the CallbackForPlayersEvents delegate with the nEvent parameter set to EV_SOUND_STOPPED.
For further details about the integration between Audio Dj Studio API for .NET and Audio Sound Recorder API for .NET, check the How to load and play sounds recorded by Audio Sound Recorder API section.
Syntax
[Visual Basic]
Public Function StopSoundFromRecorder (
nPlayerIndex as Int16,
hWndRecorderCtrl as IntPtr
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes StopSoundFromRecorder (
Int16 nPlayerIndex,
IntPtr hWndRecorderCtrl,
);
|
|
[C++]
public: enumErrorCodes StopSoundFromRecorder (
Int16 nPlayerIndex,
IntPtr hWndRecorderCtrl,
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
hWndRecorderCtrl
|
Window handle to the instance of the Audio Sound Recorder API for .NET control
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|