Converts a float 32-bit signed sample to a 16-bit signed sample.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- sample
- Type: SystemSingle
The 32-bit signed sample to convert.
Return Value
Type: ByteA byte array representing the converted 16-bit signed sample (byte[2]).
Remarks
Note: values greater 1.0 or less than -1.0 are capped.
See Also