aboutsummaryrefslogtreecommitdiff
path: root/bundle
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-08 21:05:42 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-08 21:05:42 +0200
commitbd8cc75856b8ff2bfe7ed40d43d8cf854e550df1 (patch)
tree335a5b3a71cb3b177e59cbe8d59ef81f5ecc9fa0 /bundle
parente3d1032911ab399f7c66d354d3d629259cabcac9 (diff)
downloadsynthpod-bd8cc75856b8ff2bfe7ed40d43d8cf854e550df1.tar.xz
annotate realtime functions for stoat analysis.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/synthpod_bundle.c2
-rw-r--r--bundle/synthpod_bundle.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/bundle/synthpod_bundle.c b/bundle/synthpod_bundle.c
index 16debe8a..df41b763 100644
--- a/bundle/synthpod_bundle.c
+++ b/bundle/synthpod_bundle.c
@@ -43,7 +43,7 @@ connect_port(LV2_Handle instance, uint32_t port, void *data)
// nothing
}
-static void
+__realtime static void
run(LV2_Handle instance, uint32_t nsamples)
{
// nothing
diff --git a/bundle/synthpod_bundle.h b/bundle/synthpod_bundle.h
index a5228117..dc6be380 100644
--- a/bundle/synthpod_bundle.h
+++ b/bundle/synthpod_bundle.h
@@ -27,6 +27,9 @@
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
+#define __realtime __attribute__((annotate("realtime")))
+#define __non_realtime __attribute__((annotate("non-realtime")))
+
// bundle uri
#define SYNTHPOD_URI "http://open-music-kontrollers.ch/lv2/synthpod"