Copyright © 2008-2019 MultiMedia Soft

InitEditor method

Previous pageReturn to chapter overviewNext page

Remarks

 

Initializes the control: the call to this method is mandatory and must be performed before calling any other method that will use an editing related functionality, possibly in the container form initialization function: calling this method inside the constructor function of the container form will not work and could cause unpredictable results.

 

In case you should not need playback support, you may replace this call with the call to the InitEditorNoPlayback method.

 

In case the component should be instanced in conjunction with the Audio DJ Studio for .NET component and/or the Audio Sound Recorder for .NET component, this method should be always called after calling the initialization methods of the other components (InitSoundSystem for the DJ studio component and InitRecordingSystem for the recorder component).

 

If the multimedia engine shouldn't find any enabled or valid output device, the container application would be notified through the WarnNoOutputDevice event.

 

 

Syntax

 

[Visual Basic]

Public Function InitEditor (

) As enumErrorCodes


 

[C#]

public enumErrorCodes InitEditor (

);


 

[C++]

public: enumErrorCodes InitEditor (

);


 

 

 

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.