Copyright © 2006-2019 MultiMedia Soft

StartFromEditingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

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]

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

Window handle to the instance of a Audio Sound Editor for .NET 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

 

 

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.