Copyright © 2006-2011 MultiMedia Soft

SoundEditDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

 

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 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.

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