OnEditPerc event |
|
Remarks
Occurs during an editing session in order to notify the container application about editing advancement.
The editing session could have been started through one of the following methods: ReduceToRange, DeleteRange, InsertSilence, RemoveSilence, TrimSilence, Effects.VolumeFlatApply, Effects.VolumeSlidingApply, Effects.VolumeAutomationApply, Effects.DirectXApply, Effects.EqualizerApply, Effects.CustomDspApply, Effects.VstApply, Effects.TempoApply, Effects.PlaybackRateApply, Effects.PitchApply, Effects.ReverseApply, Effects.FilterApply, Effects.DeNoiseFilterApply, Effects.DeClickFilterApply, Effects.NormalizationSimpleApply, Effects.NormalizationAdvancedApply, Effects.DcOffsetRemovalApply.
This event replaces the usage of the CallbackEditPerc 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_EDIT_PERC.
Syntax
[Visual Basic 6] Private Sub EditorApi_OnEditPerc ( _ ByVal nPercentage As Integer, _ ByVal nCommand As enumSoundEditCommands _ )
where "EditorApi" is declared in Visual Basic 6 code as:
Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj |
Event Data
Parameters |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nPercentage |
Number representing the percentage of advancement for the given operation. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nCommand |
Number representing the identifier of the sound editing command Supported values are the following:
|