diff options
author | David Robillard <d@drobilla.net> | 2013-05-09 20:18:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-05-09 20:18:07 +0000 |
commit | 582d60337783ddf9fc1e50267a12fe50c5d6f7bc (patch) | |
tree | 9220eac880bb97207a23d86a63fe6f76746c6bb0 /src/jalv_internal.h | |
parent | abb8cfaf30475f25659d89605cb24fb0d5aee68d (diff) | |
download | jalv-582d60337783ddf9fc1e50267a12fe50c5d6f7bc.tar.gz jalv-582d60337783ddf9fc1e50267a12fe50c5d6f7bc.tar.bz2 jalv-582d60337783ddf9fc1e50267a12fe50c5d6f7bc.zip |
Communicate UI update rate to plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5107 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r-- | src/jalv_internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 2fccbc5..1eb6899 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -86,7 +86,7 @@ typedef struct { char* uuid; char* load; uint32_t buffer_size; - uint32_t update_rate; + double update_rate; bool dump; bool generic_ui; } JalvOptions; @@ -112,6 +112,7 @@ typedef struct { LV2_URID time_beatsPerMinute; LV2_URID time_frame; LV2_URID time_speed; + LV2_URID ui_updateRate; } JalvURIDs; typedef struct { @@ -186,7 +187,7 @@ typedef struct { uint32_t control_in; ///< Index of control input port uint32_t num_ports; ///< Size of the two following arrays: uint32_t longest_sym; ///< Longest port symbol - uint32_t ui_update_hz; ///< Frequency of UI updates + float ui_update_hz; ///< Frequency of UI updates 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 |