aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c6
-rw-r--r--src/jalv_internal.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 1477040..e697785 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -630,13 +630,13 @@ jalv_run(Jalv* jalv, uint32_t nframes)
return send_ui_updates;
}
-bool
+int
jalv_update(Jalv* jalv)
{
/* Check quit flag and close if set. */
if (zix_sem_try_wait(&jalv->done)) {
jalv_close_ui(jalv);
- return false;
+ return 0;
}
/* Emit UI events. */
@@ -674,7 +674,7 @@ jalv_update(Jalv* jalv)
}
}
- return true;
+ return 1;
}
static bool
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index d0b1875..0fa8bd0 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -438,7 +438,7 @@ jalv_send_to_ui(Jalv* jalv,
bool
jalv_run(Jalv* jalv, uint32_t nframes);
-bool
+int
jalv_update(Jalv* jalv);
typedef int (*PresetSink)(Jalv* jalv,