FillWithSilence method |
|
Remarks
Fills the editor contents with an audio stream having a given amount of silence.
Syntax
[Visual Basic] Public Function FillWithSilence ( nSampleRate as Int32, nChannels as Int16, nSilenceDurationMs as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes FillWithSilence ( Int32 nSampleRate, Int16 nChannels, Int32 nSilenceDurationMs ); |
[C++] public: enumErrorCodes FillWithSilence ( Int32 nSampleRate, Int16 nChannels, Int32 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 (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |