Click or drag to resize

WaveDataReaderFromStream Method

Creates a WaveDataReader instance created from a WAV stream.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.205-beta
Syntax
public static WaveDataReader FromStream(
	Stream waveStream
)
View Source

Parameters

waveStream  Stream
The WAV stream. The data in the stream must include all headers that would be present in a WAV file.

Return Value

WaveDataReader
The WaveData instance created from a WAV stream.
Remarks
This method is similar to the WaveDataReader(Stream) constructor, however this method will first search the stream for a format chunk in order to set up the WaveData object with proper format info.
See Also