aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-08 06:36:06 +0000
committerDavid Robillard <d@drobilla.net>2012-07-08 06:36:06 +0000
commita06fe5f6c3d66dc23a49421d68fa091a76fd988a (patch)
tree0c926bd4ca5bfc1e976b6758ca0a85f94d0ef287 /src/jalv_internal.h
parentd6ac6c97e96cccc5b2714ba6a3635c8b937d1a17 (diff)
downloadjalv-a06fe5f6c3d66dc23a49421d68fa091a76fd988a.tar.gz
jalv-a06fe5f6c3d66dc23a49421d68fa091a76fd988a.tar.bz2
jalv-a06fe5f6c3d66dc23a49421d68fa091a76fd988a.zip
Notify plugins of Jack transport changes by sending events (an atom:Blank with
properties from the LV2 time extension) git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4515 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 9a58d1d..e4bea12 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -119,6 +119,7 @@ typedef struct {
LilvNode* rdfs_label;
LilvNode* work_interface;
LilvNode* work_schedule;
+ LilvNode* end; ///< NULL terminator for easy freeing of entire structure
} JalvNodes;
typedef enum {
@@ -171,6 +172,8 @@ typedef struct {
jack_nframes_t sample_rate; ///< Sample rate
jack_nframes_t event_delta_t; ///< Frames since last update sent to UI
uint32_t midi_event_id; ///< MIDI event class ID in event context
+ jack_nframes_t position; ///< Transport position in frames
+ bool rolling; ///< Transport speed (0=stop, 1=play)
bool buf_size_set; ///< True iff buffer size callback fired
bool exit; ///< True iff execution is finished
bool has_ui; ///< True iff a control UI is present