pub fn alg_quant( x: &mut [f32], n: usize, k: i32, spread: i32, stride: usize, rc: &mut RangeCoder, gain: f32, resynth: bool, ) -> u32