Copyright © 2006-2018 MultiMedia Soft

StartFromEditingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Starts a new recording session getting sound data form the given instance of Active Sound Editor.

 

A successful call to this method will fire the RecordingStarted event followed by a number of RecordingPerc events and finally by the RecordingStopped event.

 

 

Syntax

 

[Visual Basic]

control.StartFromEditingSession (

hWndEditorCtrl as OLE_HANDLE,

strOutputPath as String

) as enumErrorCodes


 

[C++]

short control.StartFromEditingSession (

OLE_HANDLE hWndEditorCtrl,

LPCTSTR strOutputPath

);


 

 

Parameter

Description

 

 

hWndEditorCtrl

Window handle to the instance of a Active Sound Editor control

strOutputPath

String representing the absolute pathname of the output file that will contain the recorded data. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character..

If the string is left empty, the recording session will be performed in memory.

 

 

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