Converts a 16-bit signed sample to an 8-bit unsigned sample.
Assembly: Bass.Net (in Bass.Net.dll) Version: 220.127.116.11
public static byte SampleTo8Bit( short sample )
Public Shared Function SampleTo8Bit ( sample As Short ) As Byte()
- Type: SystemInt16
The 16-bit signed sample to convert.
Return ValueType: Byte
A byte array representing the converted 8-bit sample (byte).