mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
jack: set peer_port to NULL in mix
This commit is contained in:
parent
e808875d60
commit
a6ebcc62db
1 changed files with 2 additions and 0 deletions
|
|
@ -520,9 +520,11 @@ static void free_object(struct client *c, struct object *o)
|
||||||
|
|
||||||
static void init_mix(struct mix *mix, uint32_t mix_id, struct port *port, uint32_t peer_id)
|
static void init_mix(struct mix *mix, uint32_t mix_id, struct port *port, uint32_t peer_id)
|
||||||
{
|
{
|
||||||
|
pw_log_debug("create %p mix:%d peer:%d", port, mix_id, peer_id);
|
||||||
mix->id = mix_id;
|
mix->id = mix_id;
|
||||||
mix->peer_id = peer_id;
|
mix->peer_id = peer_id;
|
||||||
mix->port = port;
|
mix->port = port;
|
||||||
|
mix->peer_port = NULL;
|
||||||
mix->io = NULL;
|
mix->io = NULL;
|
||||||
mix->n_buffers = 0;
|
mix->n_buffers = 0;
|
||||||
spa_list_init(&mix->queue);
|
spa_list_init(&mix->queue);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue