From 974fdb9b70631fa4ef88107f69b5c6af8fc930e7 Mon Sep 17 00:00:00 2001 From: Baofeng Tian Date: Wed, 13 Dec 2023 15:44:15 +0800 Subject: [PATCH] TEST PR: don't review don't review, test PR. Signed-off-by: Baofeng Tian --- src/audio/mixin_mixout/mixin_mixout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audio/mixin_mixout/mixin_mixout.c b/src/audio/mixin_mixout/mixin_mixout.c index 0847007bfa40..c2590e9c58e8 100644 --- a/src/audio/mixin_mixout/mixin_mixout.c +++ b/src/audio/mixin_mixout/mixin_mixout.c @@ -336,7 +336,7 @@ static int mixin_process(struct processing_module *mod, assert(free_frames >= pending_frames->frames); sinks_free_frames = MIN(sinks_free_frames, free_frames - pending_frames->frames); } - +#if TBF_MIXIN_CHECK if (source_avail_frames > 0) { struct comp_buffer *source_c; @@ -357,7 +357,9 @@ static int mixin_process(struct processing_module *mod, */ frames_to_copy = MIN(dev->frames, sinks_free_frames); } - +#else + frames_to_copy = dev->frames; +#endif /* iterate over all connected mixouts and mix source data into each mixout sink buffer */ for (i = 0; i < num_output_buffers; i++) { struct comp_dev *mixout;