17.02.2015 17:29, David Henningsson wrote: > +void lr4_process_float32(struct lr4 *lr4, int samples, int channels, float *src, float *dest) > +{ ... > + dest[i] = PA_CLAMP_UNLIKELY((int) z, -0x8000, 0x7fff); ... > +} > + > +void lr4_process_s16(struct lr4 *lr4, int samples, int channels, short *src, short *dest) > +{ ... > + dest[i] = z; ... > +} The clamping is misplaced. -- Alexander E. Patrakov