Remarks
Insert a portion of silence inside the sound under editing.
During the execution of the editing session the CallbackEditPerc delegate is invoked in order to notify about the percentage of advancement.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
Syntax
[Visual Basic]
Public Function InsertSilence (
nStartPosition as Int32,
nSilenceLength as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes InsertSilence (
Int32 nStartPosition,
Int32 nSilenceLength
);
|
|
[C++]
public: enumErrorCodes InsertSilence (
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.
|
|