mirror of https://github.com/thesofproject/sof.git
kpb: change draining copy type to normal
This change dma-copy type from blocking to normal. This is because blocking mode slows down draining considerably and from safety standpoint we cover it by period-interval now. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
6fbe4a9589
commit
9ba1814d1d
|
@ -818,7 +818,7 @@ static void kpb_init_draining(struct comp_dev *dev, struct kpb_client *cli)
|
||||||
struct hb *first_buff = buff;
|
struct hb *first_buff = buff;
|
||||||
size_t buffered = 0;
|
size_t buffered = 0;
|
||||||
size_t local_buffered = 0;
|
size_t local_buffered = 0;
|
||||||
enum comp_copy_type copy_type = COMP_COPY_BLOCKING;
|
enum comp_copy_type copy_type = COMP_COPY_NORMAL;
|
||||||
|
|
||||||
trace_kpb("kpb_init_draining()");
|
trace_kpb("kpb_init_draining()");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue