Remarks
Occurs when an editing session of the recorded sound is completed: 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 SoundEditDone As SoundEditDoneEventHandler
|
|
[C#]
public event SoundEditDoneEventHandler SoundEditDone;
|
|
[C++]
public: __event SoundEditDoneEventHandler SoundEditDone;
|
|
Event Data
The event handler receives an argument of type SoundEditDoneEventArgs 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 sound editing session requested through a previous call to the RecordedSound.RequestReduceToRange method was completed.
|
SOUND_EDIT_CMD_DELETE_RANGE
|
1
|
The sound editing session requested through a previous call to the RecordedSound.RequestDeleteRange method was completed.
|
SOUND_EDIT_CMD_INSERT_SILENCE
|
2
|
The sound editing session requested through a previous call to the RecordedSound.RequestInsertSilence method was completed.
|
SOUND_EDIT_CMD_APPLY_FILTER
|
15
|
The sound editing session requested through a previous call to the RecordedSound.FilterApply method was completed.
|
SOUND_EDIT_CMD_TRIM_SILENCE
|
22
|
The sound editing session requested through a previous call to the RecordedSound.TrimSilence method was completed.
|
|
bResult
|
Boolean value that specifies if the editing session was completed successfully.
Supported values are the following:
Mnemonic Value
|
Meaning
|
false
|
An error occurred, check the LastError property value in order to see the error code
|
true
|
The editing session was completed successfully
|
|
|