pub fn to_i16(samples: &[f32]) -> Vec<i16>
Convert [-1, 1) float samples to 16-bit with rounding and clipping.
[-1, 1)