mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
jack: increase max buffer size
This commit is contained in:
parent
12fb58add1
commit
605a0a6f97
2 changed files with 4 additions and 4 deletions
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#define MAX_PORTS 128
|
#define MAX_PORTS 128
|
||||||
#define MAX_BUFFERS 8
|
#define MAX_BUFFERS 8
|
||||||
#define MAX_SAMPLES 1024
|
#define MAX_SAMPLES 8192
|
||||||
|
|
||||||
struct buffer {
|
struct buffer {
|
||||||
uint32_t id;
|
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_buffers, SPA_POD_CHOICE_RANGE_Int(2, 1, MAX_BUFFERS),
|
||||||
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
|
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
|
||||||
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(
|
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(
|
||||||
1024 * port->stride,
|
MAX_SAMPLES * port->stride,
|
||||||
16 * port->stride,
|
16 * port->stride,
|
||||||
MAX_SAMPLES * port->stride),
|
MAX_SAMPLES * port->stride),
|
||||||
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),
|
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#define MAX_PORTS 128
|
#define MAX_PORTS 128
|
||||||
#define MAX_BUFFERS 8
|
#define MAX_BUFFERS 8
|
||||||
#define MAX_SAMPLES 1024
|
#define MAX_SAMPLES 8192
|
||||||
|
|
||||||
struct buffer {
|
struct buffer {
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
|
|
@ -564,7 +564,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_buffers, SPA_POD_CHOICE_RANGE_Int(2, 1, MAX_BUFFERS),
|
||||||
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
|
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
|
||||||
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(
|
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(
|
||||||
1024 * port->stride,
|
MAX_SAMPLES * port->stride,
|
||||||
16 * port->stride,
|
16 * port->stride,
|
||||||
MAX_SAMPLES * port->stride),
|
MAX_SAMPLES * port->stride),
|
||||||
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),
|
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->stride),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue