From b5c9effaaa01fb11f00007f7384e9c0a7e4b58cd Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Mon, 26 Feb 2024 17:54:49 +0200 Subject: [PATCH] Tools: Topology2: Allow S16_LE format in capture PCMs TODO: Quick and dirty. This might cause issues if host copier and PCM formats are not the same. Signed-off-by: Seppo Ingalsuo --- tools/topology/topology2/platform/intel/dmic-generic.conf | 4 ++-- .../topology/topology2/platform/intel/dmic1-passthrough.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/topology/topology2/platform/intel/dmic-generic.conf b/tools/topology/topology2/platform/intel/dmic-generic.conf index d5796628c64a..a0e995187235 100644 --- a/tools/topology/topology2/platform/intel/dmic-generic.conf +++ b/tools/topology/topology2/platform/intel/dmic-generic.conf @@ -448,8 +448,8 @@ Object.PCM.pcm [ Object.PCM.pcm_caps.1 { name $DMIC0_PCM_CAPS - # only 32-bit capture supported now - formats 'S32_LE' + # 16 and 32 bits capture + formats 'S16_LE,S32_LE' channels_min $NUM_DMICS channels_max $NUM_DMICS rate_min $DMIC0_RATE diff --git a/tools/topology/topology2/platform/intel/dmic1-passthrough.conf b/tools/topology/topology2/platform/intel/dmic1-passthrough.conf index f36fab29deed..1b6392bd2c77 100644 --- a/tools/topology/topology2/platform/intel/dmic1-passthrough.conf +++ b/tools/topology/topology2/platform/intel/dmic1-passthrough.conf @@ -108,8 +108,8 @@ Object.PCM.pcm [ Object.PCM.pcm_caps.1 { name $DMIC1_PCM_CAPS - # only 32-bit capture supported now - formats 'S32_LE' + # 16 and 32 bits capture + formats 'S16_LE,S32_LE' channels_min $NUM_DMICS channels_max $NUM_DMICS rate_min $DMIC1_RATE