Click or drag to resize

WaveFormatChunkCastSample Method

Casts sample value to its equivalent native type based on defined BitsPerSample and AudioFormat.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.205-beta
Syntax
public LittleBinaryValue CastSample(
	double sample
)
View Source

Parameters

sample  Double
Sample value.

Return Value

LittleBinaryValue
Sample value cast to its equivalent native type based on defined BitsPerSample and AudioFormat.
See Also