mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack: make sure we emit port registration events
When we activate, emit the port registration events of our own port, even when they were suppressed (and marked registered) when we created them. This is what JACK2 does as well.
This commit is contained in:
parent
42b23bddc3
commit
18f29bd840
1 changed files with 1 additions and 1 deletions
|
|
@ -4162,13 +4162,13 @@ int jack_activate (jack_client_t *client)
|
|||
|
||||
c->activation->pending_new_pos = true;
|
||||
c->activation->pending_sync = true;
|
||||
|
||||
c->active = true;
|
||||
|
||||
spa_list_for_each(o, &c->context.objects, link) {
|
||||
if (o->type != INTERFACE_Port || o->port.port == NULL ||
|
||||
o->port.port->client != c || !o->port.port->valid)
|
||||
continue;
|
||||
o->registered = 0;
|
||||
queue_notify(c, NOTIFY_TYPE_PORTREGISTRATION, o, 1, NULL);
|
||||
}
|
||||
done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue