diff options
Diffstat (limited to 'src/jack.c')
-rw-r--r-- | src/jack.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -260,8 +260,8 @@ jack_process_cb(jack_nframes_t nframes, void* data) static void jack_latency_cb(const jack_latency_callback_mode_t mode, void* const data) { - const Jalv* const jalv = (const Jalv*)data; - const enum PortFlow flow = + const Jalv* const jalv = (const Jalv*)data; + const PortFlow flow = ((mode == JackCaptureLatency) ? FLOW_INPUT : FLOW_OUTPUT); // First calculate the min/max latency of all feeding ports |