[Sound-open-firmware] [PATCH] topology: Add support for 32bit data to playback and capture PCMs

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Sep 8 13:52:02 CEST 2017


Add S32_LE data support to the PCMs

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 topology/sof/pipe-low-latency-capture.m4      | 2 +-
 topology/sof/pipe-low-latency-playback.m4     | 2 +-
 topology/sof/pipe-passthrough-playback.m4     | 2 +-
 topology/sof/pipe-passthrough-vol-playback.m4 | 2 +-
 topology/sof/pipe-pcm-media.m4                | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/topology/sof/pipe-low-latency-capture.m4 b/topology/sof/pipe-low-latency-capture.m4
index 111aa86..d041dca 100644
--- a/topology/sof/pipe-low-latency-capture.m4
+++ b/topology/sof/pipe-low-latency-capture.m4
@@ -89,7 +89,7 @@ W_PIPELINE(N_PGA(0), SCHEDULE_DEADLINE, SCHEDULE_PRIORITY, SCHEDULE_FRAMES, SCHE
 
 SectionPCMCapabilities.STR(Low Latency Capture PCM_ID) {
 
-	formats "S24_LE,S16_LE"
+	formats "S32_LE,S24_LE,S16_LE"
 	rate_min "48000"
 	rate_max "48000"
 	channels_min "2"
diff --git a/topology/sof/pipe-low-latency-playback.m4 b/topology/sof/pipe-low-latency-playback.m4
index a860c82..3db55cf 100644
--- a/topology/sof/pipe-low-latency-playback.m4
+++ b/topology/sof/pipe-low-latency-playback.m4
@@ -155,7 +155,7 @@ W_PIPELINE(N_PGA(1), SCHEDULE_DEADLINE, SCHEDULE_PRIORITY, SCHEDULE_FRAMES, SCHE
 # PCM capabilities supported by FW
 SectionPCMCapabilities.STR(Low Latency Playback PCM_ID) {
 
-	formats "S24_LE,S16_LE"
+	formats "S32_LE,S24_LE,S16_LE"
 	rate_min "48000"
 	rate_max "48000"
 	channels_min "2"
diff --git a/topology/sof/pipe-passthrough-playback.m4 b/topology/sof/pipe-passthrough-playback.m4
index a6ecb32..732e173 100644
--- a/topology/sof/pipe-passthrough-playback.m4
+++ b/topology/sof/pipe-passthrough-playback.m4
@@ -52,7 +52,7 @@ SectionGraph."pipe-pass-playback-PIPELINE_ID" {
 
 SectionPCMCapabilities.STR(Passthrough Playback PCM_ID) {
 
-	formats "S24_LE,S16_LE"
+	formats "S32_LE,S24_LE,S16_LE"
 	rate_min "48000"
 	rate_max "48000"
 	channels_min "2"
diff --git a/topology/sof/pipe-passthrough-vol-playback.m4 b/topology/sof/pipe-passthrough-vol-playback.m4
index bf131c3..be3f9ec 100644
--- a/topology/sof/pipe-passthrough-vol-playback.m4
+++ b/topology/sof/pipe-passthrough-vol-playback.m4
@@ -91,7 +91,7 @@ SectionGraph."pipe-pass-vol-playback-PIPELINE_ID" {
 
 SectionPCMCapabilities.STR(Passthrough Playback PCM_ID) {
 
-	formats "S24_LE,S16_LE"
+	formats "S32_LE,S24_LE,S16_LE"
 	rate_min "48000"
 	rate_max "48000"
 	channels_min "2"
diff --git a/topology/sof/pipe-pcm-media.m4 b/topology/sof/pipe-pcm-media.m4
index 97958cd..b766e23 100644
--- a/topology/sof/pipe-pcm-media.m4
+++ b/topology/sof/pipe-pcm-media.m4
@@ -120,7 +120,7 @@ W_PIPELINE(N_SRC(0), SCHEDULE_DEADLINE, SCHEDULE_PRIORITY, SCHEDULE_FRAMES, SCHE
 # PCM capabilities supported by FW
 
 SectionPCMCapabilities.STR(Media Playback PCM_ID) {
-	formats "S24_LE,S16_LE"
+	formats "S32_LE,S24_LE,S16_LE"
 	rate_min "8000"
 	rate_max "192000"
 	channels_min "2"
-- 
2.11.0



More information about the Sound-open-firmware mailing list