[Sound-open-firmware] [PATCH 2/6] topology: Modify passthrough playback pipe for duplex operation

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


Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 topology/sof/pipe-passthrough-playback.m4 | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/topology/sof/pipe-passthrough-playback.m4 b/topology/sof/pipe-passthrough-playback.m4
index 2b34cef..1722256 100644
--- a/topology/sof/pipe-passthrough-playback.m4
+++ b/topology/sof/pipe-passthrough-playback.m4
@@ -41,10 +41,14 @@ SectionGraph."pipe-pass-playback-PIPELINE_ID" {
 	lines [
 		dapm(N_PCMP, Passthrough Playback PCM_ID)
 		dapm(N_BUFFER(0), N_PCMP)
-		dapm(N_DAI_OUT, N_BUFFER(0))
 	]
 }
 
+#
+# Pipeline Source and Sinks
+#
+indir(`define', concat(`PIPELINE_SOURCE_', PIPELINE_ID), N_BUFFER(0))
+indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_ID)
 
 #
 # PCM Configuration
@@ -64,21 +68,3 @@ SectionPCMCapabilities.STR(Passthrough Playback PCM_ID) {
 	buffer_size_min	"65536"
 	buffer_size_max	"65536"
 }
-
-# PCM Low Latency 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