mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
port: allocate only from output ports
We don't need to use the mix_id to allocate, the allocation is always shared between all output mixer ports
This commit is contained in:
parent
dcbe94c55a
commit
f0eb59bc75
3 changed files with 18 additions and 22 deletions
|
|
@ -778,7 +778,7 @@ int pw_port_use_buffers(struct pw_port *port, uint32_t mix_id,
|
|||
struct spa_buffer **buffers, uint32_t n_buffers);
|
||||
|
||||
/** Allocate memory for buffers on a port \memberof pw_port */
|
||||
int pw_port_alloc_buffers(struct pw_port *port, uint32_t mix_id,
|
||||
int pw_port_alloc_buffers(struct pw_port *port,
|
||||
struct spa_pod **params, uint32_t n_params,
|
||||
struct spa_buffer **buffers, uint32_t *n_buffers);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue