aboutsummaryrefslogtreecommitdiff
path: root/test/props.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 21:58:50 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 21:58:50 +0200
commitd1481f3b5a5c20ddacf2d69903e7064fbd92f940 (patch)
tree31d4a673dc85c1409d8daa4d0e4f84b31b7fa166 /test/props.c
parentda76ee5a9b9ea5c914de852649e1a713abd4acef (diff)
downloadrouter.lv2-d1481f3b5a5c20ddacf2d69903e7064fbd92f940.tar.xz
Squashed 'props.lv2/' changes from 333d4a1..9d80261
9d80261 reintroduce _props_impl_get. git-subtree-dir: props.lv2 git-subtree-split: 9d80261ce9cc8a3d42ca573d68af15631d867eed
Diffstat (limited to 'test/props.c')
-rw-r--r--test/props.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/props.c b/test/props.c
index edeac6a..590c519 100644
--- a/test/props.c
+++ b/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;