Copyright © 2008-2018 MultiMedia Soft

ConvertSoundFilePerc event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs during conversion of a sound file to inform about the advancement percentage.

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 ConvertSoundFilePerc As ConvertSoundFilePercEventHandler


 

[C#]

public event ConvertSoundFilePercEventHandler ConvertSoundFilePerc;


 

[C++]

public: __event ConvertSoundFilePercEventHandler ConvertSoundFilePerc;


 

 

Event Data

 

The event handler receives an argument of type ConvertSoundFilePercEventArg 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.

nPercentage

Number representing the current percentage of advancement for the file conversion.