View Issue Details
ID | Category | Date Submitted | Last Update | ||
---|---|---|---|---|---|
0008558 | bugs | 2021-02-01 15:28 | 2021-02-02 21:42 | ||
Reporter | sjaehn | Assigned To | x42 | ||
Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 6.5 | ||||
Fixed in Version | |||||
Summary | 0008558: LV2_Atom_Bool | ||||
Description | I got an information from Reaper about a bug in my B.Music plugins and following a `grep` scan of all my git clones I saw the same in the code of Ardour: https://github.com/Ardour/ardour/blob/master/libs/ardour/lv2_plugin.cc#L580 contains ``` { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://ardour.org/lv2/theme/#styleBoxy"), sizeof(bool), atom_Bool, &_ui_style_boxy }, { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://ardour.org/lv2/theme/#styleFlat"), sizeof(bool), atom_Bool, &_ui_style_flat }, ``` `LV2_Atom_Bool` is defined as an `LV2_Atom_Int` in the specs and thus contains a four byte value. However, `sizeof(bool)` returns 1 for the most systems. I don't know if this is evident in the case of Ardour. This report is only the result of a code scan. I didn't experimentally tested it. | ||||
Tags | No tags attached. | ||||