Converts a float 32-bit signed sample to a 24-bit signed sample.
Assembly: Bass.Net (in Bass.Net.dll) Version: 188.8.131.52
public static byte SampleTo24Bit( float sample )
Public Shared Function SampleTo24Bit ( sample As Single ) As Byte()
public: static array<unsigned char>^ SampleTo24Bit( float sample )
static member SampleTo24Bit : sample : float32 -> byte
- Type: SystemSingle
The 32-bit signed sample to convert.
Return ValueType: Byte
A byte array representing the converted 24-bit signed sample (byte).
Note: values greater 1.0 or less than -1.0 are capped.