Copyright © 2006-2018 MultiMedia Soft

SoundEditStarted event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when an editing session of the recorded sound begins: an editing session can be started through the RecordedSound.RequestReduceToRange, RecordedSound.RequestDeleteRange, RecordedSound.RequestInsertSilence, RecordedSound.FilterApply or RecordedSound.TrimSilence methods.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event SoundEditStarted As SoundEditStartedEventHandler


 

[C#]

public event SoundEditStartedEventHandler SoundEditStarted;


 

[C++]

public: __event SoundEditStartedEventHandler SoundEditStarted;


 

 

Event Data

 

The event handler receives an argument of type SoundEditStartedEventArgs having the following parameters:

 

Parameters

Description

 

 

nCommand

Identifier of the sound editing command

Supported values are the following:

 

Mnemonic Value

Value

Meaning

SOUND_EDIT_CMD_REDUCE_TO_RANGE

0

The last call to the RecordedSound.RequestReduceToRange method started the editing session.

SOUND_EDIT_CMD_DELETE_RANGE

1

The last call to the RecordedSound.RequestDeleteRange method started the editing session.

SOUND_EDIT_CMD_INSERT_SILENCE

2

The last call to the RecordedSound.RequestInsertSilence method started the editing session.

SOUND_EDIT_CMD_APPLY_FILTER

15

The last call to the RecordedSound.FilterApply method started the editing session.

SOUND_EDIT_CMD_TRIM_SILENCE

22

The last call to the RecordedSound.TrimSilence method started the editing session.