Converts a float 32-bit signed sample to an 8-bit unsigned sample.
Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
public static byte SampleTo8Bit( float sample )
Public Shared Function SampleTo8Bit ( sample As Single ) As Byte()
public: static array<unsigned char>^ SampleTo8Bit( float sample )
static member SampleTo8Bit : sample : float32 -> byte
- Type: SystemSingle
The 32-bit signed sample to convert.
Return ValueType: Byte
A byte array representing the converted 8-bit unsigned sample (byte).