Increase pod buffer size

The props of a 64 channel node are at least 2048 bytes long so make sure
we can build and filter them.

Fixes #1574
This commit is contained in:
Wim Taymans 2021-09-06 15:07:28 +02:00
parent f9d8bdb9b8
commit 435de99428
10 changed files with 11 additions and 11 deletions

View file

@ -119,7 +119,7 @@ static int impl_node_enum_params(void *object, int seq,
struct state *this = object;
struct spa_pod *param;
struct spa_pod_builder b = { 0 };
uint8_t buffer[2048];
uint8_t buffer[4096];
struct spa_result_node_params result;
uint32_t count = 0;

View file

@ -112,7 +112,7 @@ static int impl_node_enum_params(void *object, int seq,
{
struct impl *this = object;
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;

View file

@ -727,7 +727,7 @@ static int reconfigure_mode(struct impl *this, enum spa_param_port_config_mode m
if (new != NULL) {
struct spa_pod_builder b = { 0 };
uint8_t buffer[1024];
uint8_t buffer[4096];
struct spa_pod *param = NULL;
spa_pod_builder_init(&b, buffer, sizeof(buffer));

View file

@ -380,7 +380,7 @@ static int impl_node_enum_params(void *object, int seq,
struct impl *this = object;
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;

View file

@ -272,7 +272,7 @@ static int impl_node_enum_params(void *object, int seq,
struct impl *this = object;
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;

View file

@ -217,7 +217,7 @@ static int impl_node_enum_params(void *object, int seq,
struct impl *this = object;
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;