Topology: intel-generic-dmic-kwd Add DMIC PROC option

Add DMICPROC option so that DMIC01 can use EQ IIR etc.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
This commit is contained in:
Yong Zhi 2020-10-07 20:12:24 -05:00 committed by Liam Girdwood
parent cdf734bd2b
commit e5d17f3c10
1 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,9 @@ ifdef(`DMIC_DAI_LINK_48k_NAME',`',define(DMIC_DAI_LINK_48k_NAME, `dmic01'))
# define(DMIC_DAI_LINK_16k_NAME, `dmic16k')
ifdef(`DMIC_DAI_LINK_16k_NAME',`',define(DMIC_DAI_LINK_16k_NAME, `dmic16k'))
# DMICPROC is set by makefile, available type: passthrough/eq-iir-volume
ifdef(`DMICPROC', , `define(DMICPROC, passthrough)')
#
# Define the pipelines
#
@ -57,7 +60,7 @@ dnl time_domain, sched_comp)
# Passthrough capture pipeline using max channels defined by CHANNELS.
# Set 1000us deadline on core 0 with priority 0
PIPELINE_PCM_ADD(sof/pipe-passthrough-capture.m4,
PIPELINE_PCM_ADD(sof/pipe-`DMICPROC'-capture.m4,
DMIC_PIPELINE_48k_ID, DMIC_PCM_48k_ID, CHANNELS, s32le,
1000, 0, 0, 48000, 48000, 48000)