Copyright © 2006-2019 MultiMedia Soft

RecordedSound.RequestInsertSilence method

Previous pageReturn to chapter overviewNext page

Remarks

 

Requests to insert a portion of silence inside the recorded sound.

 

For further details about recorded sound methods refer to the RecordedSound class section.

For further details see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

Public Function RequestInsertSilence (

nStartPosition as Int32,

nSilenceLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes RequestInsertSilence (

Int32 nStartPosition,

Int32 nSilenceLength

);


 

[C++]

public: enumErrorCodes RequestInsertSilence (

Int32 nStartPosition,

Int32 nSilenceLength

);


 

Parameter

Description

 

 

nStartPosition

Start position, expressed in milliseconds, where the portion of silence will be inserted

nSilenceLength

Silence length, expressed in milliseconds

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.