diff options
Diffstat (limited to 'libjack/client.c')
-rw-r--r-- | libjack/client.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libjack/client.c b/libjack/client.c index ae88862..8874c5c 100644 --- a/libjack/client.c +++ b/libjack/client.c @@ -589,13 +589,14 @@ jack_client_handle_latency_callback (jack_client_t *client, jack_event_t *event, } } - /* for a driver invocation, this is enough. + /* for a driver invocation without its own latency callback, this is enough. * input and output ports do not depend on each other. */ - if (is_driver) + if (is_driver && !client->control->latency_cbset) { return 0; - - if (! client->control->latency_cbset) { + } + + if (!client->control->latency_cbset) { /* * default action is to assume all ports depend on each other. * then always take the maximum latency. |