aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-30 20:07:34 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:50:31 -0400
commit892fe4b8ba57c24d28654b4f696c37e0ee419185 (patch)
tree69243ed53ecfa6828b0d66aeccc348429067bfb2 /src/jack.c
parent15e67e4e4e2333731e8d7a9e70bd95976e512f2c (diff)
downloadjalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.tar.gz
jalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.tar.bz2
jalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.zip
Move REALTIME definition to jack.c
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jack.c b/src/jack.c
index 2253d5a..021e5b7 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -38,6 +38,12 @@
#include <stdlib.h>
#include <string.h>
+#ifdef __clang__
+# define REALTIME __attribute__((annotate("realtime")))
+#else
+# define REALTIME
+#endif
+
struct JalvBackendImpl {
jack_client_t* client; ///< Jack client
bool is_internal_client; ///< Running inside jackd