kpb: set sync_draining_mode to true

set sync_draining_mode to true otherwise we get
glitches on the output signal because the offsets
are set to 0

Signed-off-by: Kwasowiec, Fabiola <fabiola.kwasowiec@intel.com>
This commit is contained in:
Kwasowiec, Fabiola 2022-12-13 07:22:10 +01:00 committed by Michal Wasko
parent 8c20c39ca2
commit 87020dad3a
1 changed files with 1 additions and 2 deletions

View File

@ -814,8 +814,7 @@ static int kpb_prepare(struct comp_dev *dev)
ret = -EIO; ret = -EIO;
} }
/* Disallow sync_draining_mode for now */ kpb->sync_draining_mode = true;
kpb->sync_draining_mode = false;
kpb_change_state(kpb, KPB_STATE_RUN); kpb_change_state(kpb, KPB_STATE_RUN);