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:
Wim Taymans 2019-03-06 10:30:27 +01:00
parent dcbe94c55a
commit f0eb59bc75
3 changed files with 18 additions and 22 deletions

View file

@ -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);