Skip to content

Commit

Permalink
Tools: Topology2: Allow S16_LE format in capture PCMs
Browse files Browse the repository at this point in the history
TODO: Quick and dirty. This might cause issues if host copier
and PCM formats are not the same.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu committed Mar 6, 2024
1 parent 0d62b61 commit b5c9eff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/topology/topology2/platform/intel/dmic-generic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5c9eff

Please sign in to comment.