BASS.NET API for the Un4seen BASS Audio LibraryUtilsSampleTo24Bit Method (Byte)BASS.NET API for the Un4seen BASS Audio Library
Converts a byte array (in "Little Endian" notation) to a 24-bit signed sample.

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

public static int SampleTo24Bit(
	byte[] sample
)

Parameters

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

Return Value

Type: Int32
A int 24-bit signed value representing the converted sample.
Remarks

The length of the byte array must be at least 3 (however only the last 3 elements are evaluated).
See Also

Reference