aboutsummaryrefslogtreecommitdiff
path: root/sherlock.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-08-04 15:48:49 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-08-04 15:48:49 +0200
commit013732710cb14928366b67adcd35ec6ddc26e6f1 (patch)
tree3329b69f22ab47918f341191506a457ad8cf7f42 /sherlock.h
parentd9ee7bc124c2ccd3a5bf64e457d85dfd7f3ed74e (diff)
downloadsherlock.lv2-013732710cb14928366b67adcd35ec6ddc26e6f1.tar.xz
add toggle to ignore time events.
Diffstat (limited to 'sherlock.h')
-rw-r--r--sherlock.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sherlock.h b/sherlock.h
index 03e4ca3..709d3e5 100644
--- a/sherlock.h
+++ b/sherlock.h
@@ -63,6 +63,7 @@ struct _state_t {
int32_t block;
int32_t follow;
int32_t pretty;
+ int32_t time;
};
struct _craft_t {
@@ -75,7 +76,7 @@ struct _craft_t {
};
};
-#define MAX_NPROPS 4
+#define MAX_NPROPS 5
static const props_def_t defs [MAX_NPROPS] = {
{
@@ -97,6 +98,11 @@ static const props_def_t defs [MAX_NPROPS] = {
.property = SHERLOCK_URI"#pretty",
.offset = offsetof(state_t, pretty),
.type = LV2_ATOM__Bool,
+ },
+ {
+ .property = SHERLOCK_URI"#time",
+ .offset = offsetof(state_t, time),
+ .type = LV2_ATOM__Bool,
}
};