FillWithSilence method |
|
Remarks
Fills the editor contents with an audio stream having a given amount of silence.
Syntax
[Visual Basic] control.FillWithSilence ( nSampleRate as Long, nChannels as Integer, nSilenceDurationMs as Long ) as enumErrorCodes |
[C++] short control.FillWithSilence ( long nSampleRate, short nChannels, long nSilenceDurationMs ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nSampleRate |
Sample rate of the audio stream, for example 44100 |
||||||||||||
nChannels |
Number of channels of the audio stream. Supported values are the following:
|
||||||||||||
nSilenceDurationMs |
Silence duration expressed in milliseconds |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |