OnConvertFileDone event |
|
Remarks
Occurs at the end of the conversion of a sound file.
The sound file conversion may have been started through the ConvertFile, ConvertFileRaw or ConvertAutomationExecute methods.
This event replaces the usage of the CallbackConvertFileDone delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_EDT_CONVERT_DONE.
For further information about sound files conversion see the How to convert format of sound files tutorial.
Syntax
[Visual Basic 6] Private Sub EditorApi_OnConvertFileDone ( _ ByVal nFileIndex As Integer, _ ByVal nResult as enumErrorCodes )
where "EditorApi" is declared in Visual Basic 6 code as:
Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj |
Event Data
Parameter |
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.
|