aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-16 13:15:59 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:02:06 -0500
commit5881e8438197b71f88f9c9d80cc9b0067f1fee58 (patch)
tree8ed32d6b79e284bc34752d60baff38cf0877ce90 /src/jack.c
parent098ed3f15751b1e25f8a0149d49a78b2e1d3f881 (diff)
downloadjalv-5881e8438197b71f88f9c9d80cc9b0067f1fee58.tar.gz
jalv-5881e8438197b71f88f9c9d80cc9b0067f1fee58.tar.bz2
jalv-5881e8438197b71f88f9c9d80cc9b0067f1fee58.zip
Use a typedef for port flow and type like other enums
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jack.c b/src/jack.c
index 6baa14e..de1542e 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -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