7 Nov
2017
7 Nov
'17
5:15 a.m.
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)); } }
--
2.11.0