BASS.NET API for the Un4seen BASS Audio LibraryUtilsSampleTo8Bit Method (Byte)BASS.NET API for the Un4seen BASS Audio Library
Converts a byte array (in "Little Endian" notation) to an 8-bit unsigned sample.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static byte SampleTo8Bit(
	byte[] sample
)

Parameters

sample
Type: SystemByte
The byte array sample to convert (must by in "Little Endian", low byte first notation).

Return Value

Type: Byte
A byte 8-bit unsigned value representing the converted sample.
Remarks

The length of the byte array must be at least 1 (however only the last element is evaluated).
See Also

Reference