From 195774bce6f0dc854e840d1b7d7e439500ca013c Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Wed, 16 Jun 2021 13:37:38 +0300 Subject: [PATCH] topology: imx8: kwd: use s32le format instead of s16le Use s32le format instead of s16le. Signed-off-by: Viorel Suman --- tools/topology/sof-imx8-wm8960-kwd.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/topology/sof-imx8-wm8960-kwd.m4 b/tools/topology/sof-imx8-wm8960-kwd.m4 index 9cad2e2e0..0ccbc32ce 100644 --- a/tools/topology/sof-imx8-wm8960-kwd.m4 +++ b/tools/topology/sof-imx8-wm8960-kwd.m4 @@ -36,7 +36,7 @@ dnl time_domain, sched_comp) # Passthrough capture pipeline 1 on PCM 0 using max 2 channels. # Schedule 1000us deadline on core 0 with priority 0 PIPELINE_PCM_ADD(sof/pipe-kfbm-no-lp-capture.m4, - 1, 0, 2, s16le, + 1, 0, 2, s32le, KWD_PIPE_SCH_DEADLINE_US, 0, 0, 16000, 16000, 16000) @@ -51,10 +51,10 @@ dnl deadline, priority, core, time_domain) # This is for iMX8QM/QXP # capture DAI is SAI1 using 2 periods -# Buffers use s16le format, with 320 frame per 1000us on core 0 with priority 0 +# Buffers use s32le format, with 320 frame per 1000us on core 0 with priority 0 DAI_ADD(sof/pipe-dai-capture.m4, 1, SAI, 1, sai1-wm8960-hifi, - PIPELINE_SINK_1, 2, s16le, + PIPELINE_SINK_1, 2, s32le, KWD_PIPE_SCH_DEADLINE_US, 0, 0, SCHEDULE_TIME_DOMAIN_DMA) @@ -65,7 +65,7 @@ dnl period, priority, core, dnl sched_comp, time_domain, dnl pcm_min_rate, pcm_max_rate, pipeline_rate) PIPELINE_ADD(sof/pipe-detect.m4, - 2, 2, s16le, + 2, 2, s32le, KWD_PIPE_SCH_DEADLINE_US, 1, 0, PIPELINE_SCHED_COMP_1, SCHEDULE_TIME_DOMAIN_TIMER,