Copyright © 2008-2019 MultiMedia Soft

CallbackEditPerc delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked from a secondary thread 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 callback can be set through a call to the CallbackEditPercSet method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackEditPerc (

nPercentage as Int16,

nCommand as enumSoundEditCommands

)


 

[C#]

public delegate void CallbackEditPerc (

Int16 nPercentage,

enumSoundEditCommands nCommand

)


 

[C++]

public delegate void CallbackEditPerc (

Int16 nPercentage,

enumSoundEditCommands nCommand

)


 

Parameter

Description

 

 

nPercentage

Number representing the percentage of advancement for the given operation.

nCommand

Identifier of the sound editing command

Supported values are the following:

Mnemonic Value

Value

Meaning

SOUND_EDIT_CMD_REDUCE_TO_RANGE

0

A call to the ReduceToRange method started the editing session.

SOUND_EDIT_CMD_DELETE_RANGE

1

A call to the DeleteRange method started the editing session.

SOUND_EDIT_CMD_INSERT_SILENCE

2

A call to the InsertSilence method started the editing session.

SOUND_EDIT_CMD_APPLY_VOLUME_FLAT

3

A call to the Effects.VolumeFlatApply method started the editing session.

SOUND_EDIT_CMD_APPLY_VOLUME_SLIDING

4

A call to the Effects.VolumeSlidingApply method started the editing session.

SOUND_EDIT_CMD_APPLY_VOLUME_AUTOMATION

5

A call to the Effects.VolumeAutomationApply method started the editing session.

SOUND_EDIT_CMD_APPLY_DMO

6

A call to the Effects.DirectXApply method started the editing session.

SOUND_EDIT_CMD_APPLY_EQUALIZER

7

A call to the Effects.EqualizerApply method started the editing session.

SOUND_EDIT_CMD_APPLY_CUSTOM_DSP

8

A call to the Effects.CustomDspApply method started the editing session.

SOUND_EDIT_CMD_APPLY_VST

9

A call to the Effects.VstApply method started the editing session.

SOUND_EDIT_CMD_APPLY_TEMPO

10

A call to the Effects.TempoApply method started the editing session.

SOUND_EDIT_CMD_APPLY_PLAYBACKRATE

11

A call to the Effects.PlaybackRateApply method started the editing session.

SOUND_EDIT_CMD_APPLY_PITCH

12

A call to the Effects.PitchApply method started the editing session.

SOUND_EDIT_CMD_APPLY_REVERSE

13

A call to the Effects.ReverseApply method started the editing session.

SOUND_EDIT_CMD_APPLY_REMOVE_SILENCE

14

A call to the RemoveSilence method started the editing session.

SOUND_EDIT_CMD_APPLY_FILTER

15

A call to the Effects.FilterApply method started the editing session.

SOUND_EDIT_CMD_APPLY_DENOISE

16

A call to the Effects.DeNoiseFilterApply method started the editing session.

SOUND_EDIT_CMD_APPLY_DECLICK

17

A call to the Effects.DeClickFilterApply method started the editing session.

SOUND_EDIT_CMD_APPLY_NORMALIZE_PEAK

18

A call to the Effects.NormalizationSimpleApply method started the editing session.

SOUND_EDIT_CMD_APPLY_NORMALIZE_TARGET

19

A call to the Effects.NormalizationAdvancedApply method started the editing session.

SOUND_EDIT_CMD_APPLY_DC_OFFSET_REMOVAL

20

A call to the Effects.DcOffsetRemovalApply method started the editing session.

SOUND_EDIT_CMD_APPLY_VOCAL_REMOVE

21

A call to the Effects.VocalRemovalApply method started the editing session.

SOUND_EDIT_CMD_TRIM_SILENCE

22

A call to the TrimSilence method started the editing session.