DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 34e55a3be4b348f567502cdeac81459b08df54ef
parent e207aafcb289008881bca53df7effa3736f922ce
Author: falkTX <falktx@falktx.com>
Date:   Thu, 10 Feb 2022 23:23:37 +0000

Fix reversed LV2 micro/minor versions

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/src/DistrhoPluginLV2export.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp @@ -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)