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()
- 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.