Click or drag to resize

WaveFile(Int32, Int16, Int16) Constructor

Creates a new empty in-memory wave file in Pulse Code Modulation (PCM) audio format.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.181-beta
Syntax
public WaveFile(
	int sampleRate,
	short bitsPerSample,
	short channels
)
View Source

Parameters

sampleRate  Int32
Desired sample rate (e.g., 44100).
bitsPerSample  Int16
Desired bits-per-sample (e.g., 16).
channels  Int16
Desired data channels (e.g., 2 for stereo).
See Also