jack: increase max buffer size

This commit is contained in:
Wim Taymans 2019-10-24 12:21:17 +02:00
parent 12fb58add1
commit 605a0a6f97
2 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@
#define MAX_PORTS 128
#define MAX_BUFFERS 8
#define MAX_SAMPLES 1024
#define MAX_SAMPLES 8192
struct buffer {
uint32_t id;
@ -566,7 +566,7 @@ impl_node_port_enum_params(void *object, int seq,
SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(2, 1, MAX_BUFFERS),
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(
1024 * port->stride,
MAX_SAMPLES * port->stride,
16 * port->stride,
MAX_SAMPLES * port->stride),
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),