[Sound-open-firmware] [PATCH] volume: fix 16_to_24 right channel wrong issue
The right channel was set duplicated to the left channel, here correct it.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/audio/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/volume.c b/src/audio/volume.c index f52ab46..e1cbda2 100644 --- a/src/audio/volume.c +++ b/src/audio/volume.c @@ -179,7 +179,7 @@ static void vol_s16_to_s24(struct comp_dev *dev, struct comp_buffer *sink, dest[i] = q_multsr_sat_32x32( src[i], cd->volume[0], Q_SHIFT_BITS_64(15, 16, 23)); dest[i + 1] = q_multsr_sat_32x32( - src[i], cd->volume[0], Q_SHIFT_BITS_64(15, 16, 23)); + src[i + 1], cd->volume[1], Q_SHIFT_BITS_64(15, 16, 23)); } }
On Tue, 2017-11-07 at 12:15 +0800, Keyon Jie wrote:
The right channel was set duplicated to the left channel, here correct it.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
Applied.
Thanks
Liam
participants (2)
-
Keyon Jie
-
Liam Girdwood