Remarks
Stops a playback previously activated through a call to the PlaySoundFromRecorderEx method.
A successful call to this method will fire the SoundStopped event.
For further details about the integration between Audio DJ Studio for .NET and Audio Sound Recorder for .NET, check the How to load and play sounds recorded by Active Sound Recorder 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 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.
|
|