Browse Source

port notifications are sent after portsegment attach etc...

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4066 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.120.1
torben 15 years ago
parent
commit
ce41b670ab
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      jackd/clientengine.c

+ 6
- 5
jackd/clientengine.c View File

@@ -924,11 +924,6 @@ jack_client_activate (jack_engine_t *engine, jack_client_id_t id)
++engine->external_client_cnt);
jack_sort_graph (engine);

// send delayed notifications for ports.
for (node2 = client->ports; node2; node2 = jack_slist_next (node2)) {
jack_port_internal_t *port = (jack_port_internal_t *) node2->data;
jack_port_registration_notify (engine, port->shared->id, TRUE);
}

for (i = 0; i < engine->control->n_port_types; ++i) {
event.type = AttachPortSegment;
@@ -939,6 +934,12 @@ jack_client_activate (jack_engine_t *engine, jack_client_id_t id)
event.type = BufferSizeChange;
jack_deliver_event (engine, client, &event);

// send delayed notifications for ports.
for (node2 = client->ports; node2; node2 = jack_slist_next (node2)) {
jack_port_internal_t *port = (jack_port_internal_t *) node2->data;
jack_port_registration_notify (engine, port->shared->id, TRUE);
}

ret = 0;
}



Loading…
Cancel
Save