Copyright © 2008-2018 MultiMedia Soft

ResetEngine method

Previous pageReturn to chapter overviewNext page

Remarks

 

Resets the multimedia engine: this method can be used in order to enumerate again available sound devices which could have been plugged or unplugged into a USB port.

 

Immediately after calling this method it's mandatory to make a call to the ResetControl method, on each of the instanced controls, in order to re-initialize the control(s).

 

Due to the fact that all instances of the component (including Audio DJ Studio for .NET and Audio Sound Recorder for .NET components) share the same instance of the multimedia engine, it's very important that ResetEngine is called only once from this specific instance of the component, as it will affect all of the other instances, and that you call ResetControl from all of the instances or you would experience errors on next calls to methods of the control.

 

In case the component should be used in conjunction with the Audio DJ Studio for .NET and/or Audio Sound Recorder for .NET components, you should call the ResetControl method of these components as well.

 

 

Syntax

 

[Visual Basic]

Public Sub ResetEngine (

)


 

[C#]

public void ResetEngine (

);


 

[C++]

public: void ResetEngine (

);