Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
PlaySoundFromRecorder method 
 
Remarks 
 
Activates the given instance of Active Sound Recorder and plays in real time sound data coming from the recorder. 
 
In order to stop playing sound data coming from a recorder instance, always use the StopSoundFromRecorder method instead of the StopSound method.. 
 
A successful call to this method will fire the SoundPlaying 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.PlaySoundFromRecorder
nPlayer as Integer
hWndRecorderCtrl as OLE_HANDLE, 
bMono as enumBoolean 
 
[C++] 
short control.PlaySoundFromRecorder
short nPlayer
OLE_HANDLE hWndRecorderCtrl
short bMono 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the involved player
hWndRecorderCtrl
Window handle to the instance of Active Sound Recorder control
bMono
Boolean value that tells to play incoming sound data in Mono or Stereo. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
BOOL_FALSE
0
Play sound data in Stereo
BOOL_TRUE
1
Play sound data in Mono: use this setting if you want to apply EAX effects.
 
 
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
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents