mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 12:55:57 +01:00
LV2: add note about LV2 UI updae freq (NO-OP)
This commit is contained in:
parent
5d59454f6a
commit
1d8ebee6d0
2 changed files with 6 additions and 0 deletions
|
|
@ -365,6 +365,7 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee
|
|||
static uint32_t _ui_foreground_color;
|
||||
static uint32_t _ui_contrasting_color;
|
||||
static unsigned long _ui_transient_win_id;
|
||||
static float _ui_update_hz;
|
||||
|
||||
mutable unsigned _state_version;
|
||||
|
||||
|
|
|
|||
|
|
@ -159,6 +159,7 @@ uint32_t LV2Plugin::_ui_background_color = 0x000000ff; // RGBA
|
|||
uint32_t LV2Plugin::_ui_foreground_color = 0xffffffff; // RGBA
|
||||
uint32_t LV2Plugin::_ui_contrasting_color = 0x33ff33ff; // RGBA
|
||||
unsigned long LV2Plugin::_ui_transient_win_id = 0;
|
||||
float LV2Plugin::_ui_update_hz = 25;
|
||||
|
||||
|
||||
class LV2World {
|
||||
|
|
@ -655,6 +656,10 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate)
|
|||
sizeof(int32_t), atom_Bool, &_ui_style_flat },
|
||||
{ LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://kxstudio.sf.net/ns/lv2ext/props#TransientWindowId"),
|
||||
sizeof(int32_t), atom_Long, &_ui_transient_win_id },
|
||||
#if 0
|
||||
{ LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://lv2plug.in/ns/extensions/ui#updateRate"),
|
||||
sizeof(int32_t), atom_Float, &_ui_update_hz },
|
||||
#endif
|
||||
{ LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue