Remarks
Starts a new recording session getting sound data from the given instance of Audio Sound Editor for .NET or from the given instance of Audio Sound Editor API for .NET .
During the recording sessions the container application is notified through the CallbackForRecordersEvents delegate which is invoked with the nEvent parameter set to EV_REC_START at the beginning and to EV_REC_STOP at the end. The current percentage of advancement is notified through the EV_REC_PERC event.
Syntax
[Visual Basic]
Public Function StartFromEditingSession (
hWndEditorCtrl as IntPtr,
strOutputPath as string
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes StartFromEditingSession (
IntPtr hWndEditorCtrl,
string strOutputPath
);
|
|
[C++]
public: enumErrorCodes StartFromEditingSession (
IntPtr hWndEditorCtrl,
string strOutputPath
);
|
|
Parameter
|
Description
|
|
|
hWndEditorCtrl
|
The value of the Handle property of an instance of Audio Sound Editor for .NET or Audio Sound Editor API for .NET
|
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
|
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The song file has been loaded successfully.
|
Negative value
|
An error occurred: see the LastError property for further error details or for a list of the possible error values.
|
|