7 Sep
2017
7 Sep
'17
12:44 a.m.
Buffer pointers were being updated twice. Fix.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/mixer.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/src/audio/mixer.c b/src/audio/mixer.c index 3f1f1ed..a4dea4d 100644 --- a/src/audio/mixer.c +++ b/src/audio/mixer.c @@ -73,13 +73,6 @@ static void mix_n(struct comp_dev *dev, struct comp_buffer *sink, dest[i] = (val[0] >> (num_sources >> 1)); dest[i + 1] = (val[1] >> (num_sources >> 1)); } - - /* update R/W pointers */ - sink->w_ptr = dest + count; - for (j = 0; j < num_sources; j++) { - src = sources[j]->r_ptr; - sources[j]->r_ptr = src + count; - } }
static struct comp_dev *mixer_new(struct sof_ipc_comp *comp)
--
2.11.0