Click or drag to resize

WaveFile(SampleRate, BitsPerSample, DataChannels, WaveFormat) Constructor

Creates a new empty in-memory wave file in specified audio format.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax
public WaveFile(
	SampleRate sampleRate,
	BitsPerSample bitsPerSample,
	DataChannels channels,
	WaveFormat audioFormat
)
View Source

Parameters

sampleRate  SampleRate
Desired sample rate.
bitsPerSample  BitsPerSample
Desired bits-per-sample.
channels  DataChannels
Desired data channels.
audioFormat  WaveFormat
Desired audio format.
Remarks
Consumer will need to apply appropriate data compression for non-PCM data formats.
See Also