Copyright © 2008-2018 MultiMedia Soft

ConvertSoundFileDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs at the end of a sound file conversion.

The sound file conversion may have been started through the ConvertFile, ConvertFileRaw or ConvertAutomationExecute methods.

 

For further information about sound files conversion see the How to convert format of sound files tutorial.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event ConvertSoundFileDone As ConvertSoundFileDoneEventHandler


 

[C#]

public event ConvertSoundFileDoneEventHandler ConvertSoundFileDone;


 

[C++]

public: __event ConvertSoundFileDoneEventHandler ConvertSoundFileDone;


 

 

Event Data

 

The event handler receives an argument of type ConvertSoundFileDoneEventArgs having the following parameters:

 

Parameters

Description

 

 

nFileIndex

This parameter always assumes value 0 if the event is generated after a call to the ConvertFile or ConvertFileRaw methods

In case of a conversion automation session, started through the ConvertAutomationExecute method, this parameter represents the zero-based index of the list of sound files being converted..

nResult

The result of the conversion session.

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The conversion of the sound file was completed successfully.