Copyright © 2001-2019 MultiMedia Soft

StopSoundFromRecorder method

Previous pageReturn to chapter overviewNext page

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 Active DJ Studio and Active Sound Recorder, check the How to load and play sounds recorded by Active Sound Recorder section.

 

 

Syntax

 

[Visual Basic]

control.StopSoundFromRecorder (

nPlayer as Integer,

hWndRecorderCtrl as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.StopSoundFromRecorder (

short nPlayer,

OLE_HANDLE hWndRecorderCtrl

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

hWndRecorderCtrl

Window handle to the instance of Active Sound Recorder control

 

 

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