[Sound-open-firmware] [PATCH 5/6] topology: modify passthrough volume playback for duplex operation

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Dec 11 23:04:58 CET 2017


Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 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)
-	}
-}
-- 
2.14.1



More information about the Sound-open-firmware mailing list