S16_SCALE 128 libavresample/dither.c dst[i] = av_clip_int16(lrintf(src[i] * S16_SCALE + dither[i])); S16_SCALE 184 libavresample/dither.c float sample = src[i] * S16_SCALE;