We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b376d7 + f4049bb commit 2f7b575Copy full SHA for 2f7b575
1 file changed
src/audio/volume_generic.c
@@ -50,7 +50,7 @@
50
*
51
* Volume multiply for 24 bit input and 16 bit bit output.
52
*/
53
-static inline int16_t vol_mult_s24_to_s16(int16_t x, int32_t vol)
+static inline int16_t vol_mult_s24_to_s16(int32_t x, int32_t vol)
54
{
55
return (int16_t)q_multsr_sat_32x32_16(sign_extend_s24(x), vol,
56
Q_SHIFT_BITS_64(23, 16, 15));
0 commit comments