aboutsummaryrefslogtreecommitdiff
path: root/props.lv2/test
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 21:59:04 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 21:59:04 +0200
commit8ffb2a92b5dc6921c329ce3f56b3f33579af235c (patch)
tree0c074b0dd162871523251a85fe89fe34db3f3073 /props.lv2/test
parent0ced181657266c97451cbee5007ae996e11df1cb (diff)
parent0a2f57448a5fb20d6f6facb60204ddf42aa7631f (diff)
downloadsherlock.lv2-8ffb2a92b5dc6921c329ce3f56b3f33579af235c.tar.xz
Merge commit '0a2f57448a5fb20d6f6facb60204ddf42aa7631f'
Diffstat (limited to 'props.lv2/test')
-rw-r--r--props.lv2/test/props.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/props.lv2/test/props.c b/props.lv2/test/props.c
index edeac6a..590c519 100644
--- a/props.lv2/test/props.c
+++ b/props.lv2/test/props.c
@@ -62,7 +62,7 @@ struct _plughandle_t {
};
static void
-_intercept(void *data, int64_t frames, props_impl_t *impl)
+_intercept(void *data, int64_t frames __attribute__((unused)), props_impl_t *impl)
{
plughandle_t *handle = data;
@@ -159,8 +159,10 @@ static const props_def_t defs [MAX_NPROPS] = {
};
static LV2_Handle
-instantiate(const LV2_Descriptor* descriptor, double rate,
- const char *bundle_path, const LV2_Feature *const *features)
+instantiate(const LV2_Descriptor* descriptor,
+ double rate __attribute__((unused)),
+ const char *bundle_path __attribute__((unused)),
+ const LV2_Feature *const *features)
{
plughandle_t *handle = calloc(1, sizeof(plughandle_t));
if(!handle)
@@ -226,7 +228,7 @@ connect_port(LV2_Handle instance, uint32_t port, void *data)
}
static void
-run(LV2_Handle instance, uint32_t nsamples)
+run(LV2_Handle instance, uint32_t nsamples __attribute__((unused)))
{
plughandle_t *handle = instance;