[Sound-open-firmware] [PATCH] topology: pipelines: give more headroom for buffer size refinement

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Aug 16 21:36:25 CEST 2017


Give the ALSA HW refinement code more headroom for buffer calculations
to provide more buffering options.

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 | 4 ++--
 topology/sof/pipe-passthrough-playback.m4 | 4 ++--
 topology/sof/pipe-pcm-media.m4            | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/topology/sof/pipe-low-latency-capture.m4 b/topology/sof/pipe-low-latency-capture.m4
index ca9fe9c..3b53d0a 100644
--- a/topology/sof/pipe-low-latency-capture.m4
+++ b/topology/sof/pipe-low-latency-capture.m4
@@ -98,7 +98,7 @@ SectionPCMCapabilities.STR(Low Latency Capture PCM_ID) {
 	periods_max "4"
 	period_size_min	"192"
 	period_size_max	"16384"
-	buffer_size_min	"384"
+	buffer_size_min	"65536"
 	buffer_size_max	"65536"
 }
 
diff --git a/topology/sof/pipe-low-latency-playback.m4 b/topology/sof/pipe-low-latency-playback.m4
index a8e3fa5..00f7447 100644
--- a/topology/sof/pipe-low-latency-playback.m4
+++ b/topology/sof/pipe-low-latency-playback.m4
@@ -161,10 +161,10 @@ SectionPCMCapabilities.STR(Low Latency Playback PCM_ID) {
 	channels_min "2"
 	channels_max "2"
 	periods_min "2"
-	periods_max "4"
+	periods_max "16"
 	period_size_min	"192"
 	period_size_max	"16384"
-	buffer_size_min	"384"
+	buffer_size_min	"65536"
 	buffer_size_max	"65536"
 }
 
diff --git a/topology/sof/pipe-passthrough-playback.m4 b/topology/sof/pipe-passthrough-playback.m4
index 1fc76c7..98b479f 100644
--- a/topology/sof/pipe-passthrough-playback.m4
+++ b/topology/sof/pipe-passthrough-playback.m4
@@ -58,10 +58,10 @@ SectionPCMCapabilities.STR(Passthrough Playback PCM_ID) {
 	channels_min "2"
 	channels_max "4"
 	periods_min "2"
-	periods_max "4"
+	periods_max "16"
 	period_size_min	"192"
 	period_size_max	"16384"
-	buffer_size_min	"384"
+	buffer_size_min	"65536"
 	buffer_size_max	"65536"
 }
 
diff --git a/topology/sof/pipe-pcm-media.m4 b/topology/sof/pipe-pcm-media.m4
index ac2aaa7..fd6db04 100644
--- a/topology/sof/pipe-pcm-media.m4
+++ b/topology/sof/pipe-pcm-media.m4
@@ -129,7 +129,7 @@ SectionPCMCapabilities.STR(Media Playback PCM_ID) {
 	periods_max "32"
 	period_size_min	"4096"
 	period_size_max	"262144"
-	buffer_size_min	"8192"
+	buffer_size_min	"8388608"
 	buffer_size_max	"8388608"
 }
 
-- 
1.9.1



More information about the Sound-open-firmware mailing list