From c8237beb93d98e64bd5d049d4090674a8abda428 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 17 Jan 2025 17:25:10 -0500 Subject: [PATCH] Finalize the clap version (#139) as pmaj.pmin.prel.hash --- libs/sst/sst-plugininfra | 2 +- src/clap/six-sines-clap-entry-impl.cpp | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/libs/sst/sst-plugininfra b/libs/sst/sst-plugininfra index 9d799f3..e27aca5 160000 --- a/libs/sst/sst-plugininfra +++ b/libs/sst/sst-plugininfra @@ -1 +1 @@ -Subproject commit 9d799f32f2ea829d0b1c96edabbe720cb0ae1a5e +Subproject commit e27aca5f1c3f45b12807e174d6544b224623ccaa diff --git a/src/clap/six-sines-clap-entry-impl.cpp b/src/clap/six-sines-clap-entry-impl.cpp index 7af5821..5a8a247 100644 --- a/src/clap/six-sines-clap-entry-impl.cpp +++ b/src/clap/six-sines-clap-entry-impl.cpp @@ -39,16 +39,20 @@ const clap_plugin_descriptor *getDescriptor() static const char *features[] = {CLAP_PLUGIN_FEATURE_INSTRUMENT, CLAP_PLUGIN_FEATURE_SYNTHESIZER, "Free and Open Source", "Audio Rate Modulation", nullptr}; - static clap_plugin_descriptor desc = {CLAP_VERSION, - "org.baconpaul.six-sines", - PRODUCT_NAME, - "BaconPaul", - "https://baconpaul.org", - "", - "", - sst::plugininfra::VersionInformation::project_version, - "Synth with Audio Rate Modulation or something", - &features[0]}; + + static char versionNum[1024]; + + static clap_plugin_descriptor desc = { + CLAP_VERSION, + "org.baconpaul.six-sines", + PRODUCT_NAME, + "BaconPaul", + "https://baconpaul.org", + "", + "", + sst::plugininfra::VersionInformation::project_version_and_hash, + "Synth with Audio Rate Modulation or something", + &features[0]}; return &desc; }