pub fn i16_to_pcm16_le(samples: &[i16]) -> Vec<u8> ⓘ
Encode samples as little-endian PCM16 bytes (the Live wire format).
assert_eq!(i16_to_pcm16_le(&[1, -1]), [1, 0, 0xff, 0xff]);