diff options
author | David Robillard <d@drobilla.net> | 2022-05-30 20:07:34 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:50:31 -0400 |
commit | 892fe4b8ba57c24d28654b4f696c37e0ee419185 (patch) | |
tree | 69243ed53ecfa6828b0d66aeccc348429067bfb2 | |
parent | 15e67e4e4e2333731e8d7a9e70bd95976e512f2c (diff) | |
download | jalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.tar.gz jalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.tar.bz2 jalv-892fe4b8ba57c24d28654b4f696c37e0ee419185.zip |
Move REALTIME definition to jack.c
-rw-r--r-- | src/jack.c | 6 | ||||
-rw-r--r-- | src/jalv_internal.h | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -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 diff --git a/src/jalv_internal.h b/src/jalv_internal.h index a841e80..538395d 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -37,12 +37,6 @@ #include <stdint.h> #include <stdio.h> -#ifdef __clang__ -# define REALTIME __attribute__((annotate("realtime"))) -#else -# define REALTIME -#endif - #ifdef __cplusplus extern "C" { #endif |