From 143f233be3a3e9f80bcb5863fdd149b430700b3b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 20 Sep 2021 20:11:50 +0200 Subject: [PATCH] audioconvert: increase buffer size 64 channels with the new format support needs more space. See #1620 --- spa/plugins/audioconvert/fmtconvert.c | 2 +- spa/plugins/audioconvert/merger.c | 2 +- spa/plugins/audioconvert/splitter.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spa/plugins/audioconvert/fmtconvert.c b/spa/plugins/audioconvert/fmtconvert.c index ebea18f4c..8b91ccfbe 100644 --- a/spa/plugins/audioconvert/fmtconvert.c +++ b/spa/plugins/audioconvert/fmtconvert.c @@ -479,7 +479,7 @@ impl_node_port_enum_params(void *object, int seq, struct port *port, *other; struct spa_pod *param; struct spa_pod_builder b = { 0 }; - uint8_t buffer[1024]; + uint8_t buffer[4096]; struct spa_result_node_params result; uint32_t count = 0; int res; diff --git a/spa/plugins/audioconvert/merger.c b/spa/plugins/audioconvert/merger.c index 5fcb3366a..8e4f2a041 100644 --- a/spa/plugins/audioconvert/merger.c +++ b/spa/plugins/audioconvert/merger.c @@ -739,7 +739,7 @@ impl_node_port_enum_params(void *object, int seq, struct port *port; struct spa_pod *param; struct spa_pod_builder b = { 0 }; - uint8_t buffer[1024]; + uint8_t buffer[2048]; struct spa_result_node_params result; uint32_t count = 0; int res; diff --git a/spa/plugins/audioconvert/splitter.c b/spa/plugins/audioconvert/splitter.c index dd1e22629..b5c5ca2af 100644 --- a/spa/plugins/audioconvert/splitter.c +++ b/spa/plugins/audioconvert/splitter.c @@ -493,7 +493,7 @@ impl_node_port_enum_params(void *object, int seq, struct port *port; struct spa_pod *param; struct spa_pod_builder b = { 0 }; - uint8_t buffer[1024]; + uint8_t buffer[2048]; struct spa_result_node_params result; uint32_t count = 0; int res;