topology1: mt8195: support 1ms pipeline capture period

1.Default support 1ms period capture pipeline to update host position
  more precisely.
2.Revise pipeline 1 to playback and pipeline 4 to capture in comment.

Signed-off-by: YC Hung <yc.hung@mediatek.com>
This commit is contained in:
YC Hung 2022-01-10 13:35:55 +08:00 committed by Liam Girdwood
parent e64fdf2e40
commit e7f6430004
1 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@ dnl period, priority, core,
dnl pcm_min_rate, pcm_max_rate, pipeline_rate,
dnl time_domain, sched_comp)
# Low Latency capture pipeline 1 on PCM 16 using max 2 channels of s16le
# Low Latency playback pipeline 1 on PCM 16 using max 2 channels of s16le
# Set 10000us deadline with priority 0 on core 0
PIPELINE_PCM_ADD(
ifdef(`DTS', sof/pipe-eq-iir-dts-codec-playback.m4, sof/pipe-passthrough-playback.m4),
@ -51,17 +51,17 @@ PIPELINE_PCM_ADD(
48000, 48000, 48000)
# Low Latency capture pipeline 3 on PCM 18 using max 2 channels of s16le
# Set 10000us deadline with priority 0 on core 0
# Set 1000us deadline with priority 0 on core 0
PIPELINE_PCM_ADD(sof/pipe-passthrough-capture.m4,
3, 18, 2, s16le,
10000, 0, 0,
1000, 0, 0,
48000, 48000, 48000)
# Low Latency playback pipeline 4 on PCM 19 using max 2 channels of s16le
# Set 10000us deadline with priority 0 on core 0
# Low Latency capture pipeline 4 on PCM 19 using max 2 channels of s16le
# Set 1000us deadline with priority 0 on core 0
PIPELINE_PCM_ADD(sof/pipe-passthrough-capture.m4,
4, 19, 2, s16le,
10000, 0, 0,
1000, 0, 0,
48000, 48000, 48000)
#
@ -89,18 +89,18 @@ DAI_ADD(sof/pipe-dai-playback.m4,
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
# capture DAI is AFE using 2 periods
# Buffers use s16le format, with 48 frame per 10000us on core 0 with priority 0
# Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0
DAI_ADD(sof/pipe-dai-capture.m4,
3, AFE, 2, AFE_SOF_UL4,
PIPELINE_SINK_3, 2, s16le,
10000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
# capture DAI is AFE using 2 periods
# Buffers use s16le format, with 48 frame per 10000us on core 0 with priority 0
# Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0
DAI_ADD(sof/pipe-dai-capture.m4,
4, AFE, 3, AFE_SOF_UL5,
PIPELINE_SINK_4, 2, s16le,
10000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)
#SCHEDULE_TIME_DOMAIN_DMA
dnl PCM_PLAYBACK_ADD(name, pcm_id, playback)