Click or drag to resize

WaveFormatChunk(RiffChunk, Stream) Constructor

Reads a new WaveFormatChunk from the specified stream.

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

Parameters

preRead  RiffChunk
Pre-parsed RiffChunk header.
source  Stream
Source stream to read data from.
Exceptions
ExceptionCondition
InvalidOperationExceptionWAVE format or extra parameters section too small, wave file corrupted.
InvalidDataExceptionInvalid bit rate encountered - wave file bit rates must be a multiple of 8.
See Also