From e76aeeb7e9b2e99c13da8f9649d32dd3a4669829 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Mon, 11 Dec 2017 22:03:50 +0000 Subject: [PATCH] topology: modify passthrough volume playback for duplex operation Signed-off-by: Liam Girdwood --- topology/sof/pipe-passthrough-vol-playback.m4 | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/topology/sof/pipe-passthrough-vol-playback.m4 b/topology/sof/pipe-passthrough-vol-playback.m4 index 6e8aba4..b532161 100644 --- a/topology/sof/pipe-passthrough-vol-playback.m4 +++ b/topology/sof/pipe-passthrough-vol-playback.m4 @@ -80,10 +80,15 @@ SectionGraph."pipe-pass-vol-playback-PIPELINE_ID" { dapm(N_BUFFER(0), N_PCMP) dapm(N_PGA(0), N_BUFFER(0)) dapm(N_BUFFER(1), N_PGA(0)) - dapm(N_DAI_OUT, N_BUFFER(1)) ] } +# +# Pipeline Source and Sinks +# +indir(`define', concat(`PIPELINE_SOURCE_', PIPELINE_ID), N_BUFFER(1)) +indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_ID) + # # PCM Configuration @@ -104,20 +109,3 @@ SectionPCMCapabilities.STR(Passthrough Playback PCM_ID) { buffer_size_max "65536" } -# PCM Passthrough Playback -SectionPCM.STR(PCM PCM_ID) { - - index STR(PIPELINE_ID) - - # used for binding to the PCM - id STR(PCM_ID) - - dai.STR(Passthrough Playback PCM_ID) { - id STR(PCM_ID) - } - - pcm."playback" { - - capabilities STR(Passthrough Playback PCM_ID) - } -}