Browse Source

Fix reversed LV2 micro/minor versions

Signed-off-by: falkTX <falktx@falktx.com>
pull/368/head
falkTX 4 years ago
parent
commit
28d96ecc8c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      distrho/src/DistrhoPluginLV2export.cpp

+ 2
- 2
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -1109,8 +1109,8 @@ void lv2_generate_ttl(const char* const basename)
const uint32_t version(plugin.getVersion());

const uint32_t majorVersion = (version & 0xFF0000) >> 16;
const uint32_t microVersion = (version & 0x00FF00) >> 8;
/* */ uint32_t minorVersion = (version & 0x0000FF) >> 0;
/* */ uint32_t minorVersion = (version & 0x00FF00) >> 8;
const uint32_t microVersion = (version & 0x0000FF) >> 0;

// NOTE: LV2 ignores 'major' version and says 0 for minor is pre-release/unstable.
if (majorVersion > 0)


Loading…
Cancel
Save