diff options
author | David Robillard <d@drobilla.net> | 2012-05-27 03:08:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-27 03:08:06 +0000 |
commit | 2f0a8b92254a4ed4d5c0f9565e94ce897d68367c (patch) | |
tree | 6b22535e6a6b52d12a49dadc801b9515e9f4387f /src | |
parent | a17af073fe12330f4490666c8a17bc399ac2afad (diff) | |
download | jalv-2f0a8b92254a4ed4d5c0f9565e94ce897d68367c.tar.gz jalv-2f0a8b92254a4ed4d5c0f9565e94ce897d68367c.tar.bz2 jalv-2f0a8b92254a4ed4d5c0f9565e94ce897d68367c.zip |
Add real-time annotations for sfpv.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4463 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -64,6 +64,12 @@ # define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif +#ifdef __clang__ +# define REALTIME __attribute__((annotate("realtime"))) +#else +# define REALTIME +#endif + ZixSem exit_sem; /**< Exit semaphore */ LV2_URID @@ -310,7 +316,7 @@ jack_buffer_size_cb(jack_nframes_t nframes, void* data) } /** Jack process callback. */ -int +REALTIME int jack_process_cb(jack_nframes_t nframes, void* data) { Jalv* const host = (Jalv*)data; |