Skip to content

Commit 66e2017

Browse files
bkokoszxlrgirdwo
authored andcommitted
apl: change dmic format to s32_le in sof-glk-da7219.tplg
In order to allow record s16_le/s24_le/s32_le format this commit changes DAI component's and DMIC's format to s32_le on PCM99. In case recording s16_le/s24_le DAI component makes pcm conversion from s16_le/s24_le to s32_le. Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
1 parent 2a46556 commit 66e2017

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/topology/sof-glk-da7219.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ define(DEF_PIPE_DMIC_CAPTURE, sof/pipe-DMICPROC-capture.m4)
6363
# Low Latency capture pipeline 4 on PCM 99 using max 4 channels of s32le.
6464
# 1000us deadline on core 0 with priority 0
6565
PIPELINE_PCM_ADD(DEF_PIPE_DMIC_CAPTURE,
66-
4, 99, 4, s16le,
66+
4, 99, 4, s32le,
6767
1000, 0, 0,
6868
48000, 48000, 48000)
6969

@@ -125,7 +125,7 @@ DAI_ADD(sof/pipe-dai-capture.m4,
125125
# Buffers use s32le format, 1000us deadline on core 0 with priority 0
126126
DAI_ADD(sof/pipe-dai-capture.m4,
127127
4, DMIC, 0, dmic01,
128-
PIPELINE_SINK_4, 2, s16le,
128+
PIPELINE_SINK_4, 2, s32le,
129129
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
130130

131131
# playback DAI is iDisp1 using 2 periods
@@ -179,7 +179,7 @@ DAI_CONFIG(SSP, 2, 1, SSP2-Codec,
179179
# dmic01 (id: 2)
180180
DAI_CONFIG(DMIC, 0, 2, dmic01,
181181
DMIC_CONFIG(1, 500000, 4800000, 40, 60, 48000,
182-
DMIC_WORD_LENGTH(s16le), 400, DMIC, 0,
182+
DMIC_WORD_LENGTH(s32le), 400, DMIC, 0,
183183
PDM_CONFIG(DMIC, 0, FOUR_CH_PDM0_PDM1)))
184184

185185
# 3 HDMI/DP outputs (ID: 3,4,5)

0 commit comments

Comments
 (0)