Click or drag to resize

WaveDataChunk(RiffChunk, Stream, WaveFormatChunk) Constructor

Reads a new WAVE format section from the specified stream.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax
public WaveDataChunk(
	RiffChunk preRead,
	Stream source,
	WaveFormatChunk waveFormat
)
View Source

Parameters

preRead  RiffChunk
Pre-parsed RiffChunk header.
source  Stream
Source stream to read data from.
waveFormat  WaveFormatChunk
Format of the data section to be parsed.
Exceptions
ExceptionCondition
InvalidOperationExceptionWAVE format or extra parameters section too small, wave file corrupted.
See Also