BASS.NET API for the Un4seen BASS Audio Library

UtilsSampleTo8Bit Method (Byte)

BASS.NET API for the Un4seen BASS Audio Library
Converts an 8-bit unsigned sample to an unsigned 8-bit sample.

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

public static byte[] SampleTo8Bit(
	byte sample
)

Parameters

sample
Type: SystemByte
The unsigned 8-bit sample to convert.

Return Value

Type: Byte
A byte array representing the converted 8-bit unsigned sample (byte[1]).
See Also

Reference