From f4a55354fc4260e05c8feb9620add26e544b377d Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Wed, 29 May 2019 14:21:15 +0300 Subject: [PATCH] topology: unify byt media pipeline params with apl media pipe Byt media pipeline has different parameters in topology for scheduling deadline and frame count than apl. This produces funny 4-8x speed playback. So unify with apl media pipe. Signed-off-by: Jaska Uimonen --- tools/topology/sof-byt-codec.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/topology/sof-byt-codec.m4 b/tools/topology/sof-byt-codec.m4 index e3948aabf962..dbf884432d7f 100644 --- a/tools/topology/sof-byt-codec.m4 +++ b/tools/topology/sof-byt-codec.m4 @@ -62,11 +62,11 @@ DAI_ADD(sof/pipe-dai-playback.m4, PIPELINE_SOURCE_1, 2, s24le, 48, 1000, 0, 0) -# PCM Media Playback pipeline 3 on PCM 1 using max 2 channels of s32le. -# Schedule 192 frames per 4000us deadline on core 0 with priority 1 +# PCM Media Playback pipeline 3 on PCM 1 using max 2 channels of s16le. +# Schedule 48 frames per 1000us deadline on core 0 with priority 0 PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4, - 3, 1, 2, s32le, - 192, 4000, 1, 0, 0, PIPELINE_PLAYBACK_SCHED_COMP_1) + 3, 1, 2, s16le, + 48, 1000, 0, 0, 0, PIPELINE_PLAYBACK_SCHED_COMP_1) # Connect pipelines together SectionGraph."PIPE_NAME" {