aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-16 01:16:46 +0000
committerDavid Robillard <d@drobilla.net>2012-11-16 01:16:46 +0000
commit797a9a172729e43c467ea6b2c84eb9d39035170e (patch)
tree0bc74e6b6224b5501edd97e8b799a14c96aef3c1 /src/jalv_internal.h
parent39aca5e3ca582d27fb7df724c274afc67596406b (diff)
downloadjalv-797a9a172729e43c467ea6b2c84eb9d39035170e.tar.gz
jalv-797a9a172729e43c467ea6b2c84eb9d39035170e.tar.bz2
jalv-797a9a172729e43c467ea6b2c84eb9d39035170e.zip
Send new time information to plugin when Jack tempo changes.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4818 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 4bb600a..3c66f68 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -181,6 +181,7 @@ typedef struct {
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
+ float bpm; ///< Transport tempo in beats per minute
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