projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646aded
)
Fix LV2 option size
author
Robin Gareus
<robin@gareus.org>
Mon, 26 Aug 2019 21:12:46 +0000
(23:12 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 26 Aug 2019 21:12:46 +0000
(23:12 +0200)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index 48e3901ecc3a046adfb0bf2ae0ca514a37c507e3..f221514e7786d693e24ce4001ee9a508f8303cd2 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-536,7
+536,7
@@
LV2Plugin::init(const void* c_plugin, samplecnt_t rate)
{ LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://lv2plug.in/ns/extensions/ui#foregroundColor"),
sizeof(int32_t), atom_Int, &_ui_foreground_color },
{ LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://lv2plug.in/ns/extensions/ui#scaleFactor"),
- sizeof(
int32_
t), atom_Float, &_ui_scale_factor },
+ sizeof(
floa
t), atom_Float, &_ui_scale_factor },
{ LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL }
};