UtilNAudioAppendSilence Method

Appends a silence at the end of the source WaveStream.

Definition

Namespace: DevCase.ThirdParty.NAudio
Assembly: DevCase.net48.ThirdParty.NAudio (in DevCase.net48.ThirdParty.NAudio.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IWaveProvider AppendSilence(
	WaveStream wave,
	TimeSpan duration
)

Parameters

wave  WaveStream
The source WaveStream.
duration  TimeSpan
The duration of the silence.

Return Value

IWaveProvider
The resulting IWaveProvider.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

NAudio

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also