Copyright © 2011-2018 MultiMedia Soft

CallbackConvertFilePerc delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked from a secondary thread during file conversion sessions started through a call to the the ConvertFile, ConvertFileRaw or ConvertAutomationExecute methods to notify about the percentage of advancement of each single file added to the conversion session: this callback can be set through a call to the CallbackConvertFilePercSet method.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackConvertFilePerc (

nPercentage as Int16,

nFileCounter as Int16

)


 

[C#]

public delegate void CallbackConvertFilePerc (

Int16 nPercentage,

Int16 nFileCounter

)


 

[C++]

public delegate void CallbackConvertFilePerc (

Int16 nPercentage,

Int16 nFileCounter

)


 

Parameter

Description

 

 

nPercentage

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

nFileCounter

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.