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.
Syntax
[C++]
void SoundEditDone (
long nCommand,
long bResult
);
|
|
Parameter
|
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
|
Numeric value
|
Meaning
|
BOOL_FALSE
|
0
|
An error occurred, check the LastError property value in order to see the error code
|
BOOL_TRUE
|
1
|
The editing session was completed successfully
|
|
|