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

@ -292,7 +292,7 @@ static int add_node_update(struct node_data *data, uint32_t change_mask, uint32_
if (change_mask & PW_CLIENT_NODE_UPDATE_PARAMS) {
uint32_t i, idx, id;
uint8_t buf[2048];
uint8_t buf[4096];
struct spa_pod_builder b = { 0 };
for (i = 0; i < node->info.n_params; i++) {
@ -347,7 +347,7 @@ static int add_port_update(struct node_data *data, struct pw_impl_port *port, ui
if (change_mask & PW_CLIENT_NODE_PORT_UPDATE_PARAMS) {
uint32_t i, idx, id;
uint8_t buf[2048];
uint8_t buf[4096];
struct spa_pod_builder b = { 0 };
for (i = 0; i < port->info.n_params; i++) {