From 78a03263f29f73a524621c8dbda44aa1d4f4699e Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Mon, 21 Aug 2023 01:04:20 +0300 Subject: [PATCH 1/4] Version up --- CHANGELOG | 3 +++ project.mk | 2 +- src/main/meta/mb_gate.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d1d9852..067fcba 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ * RECENT CHANGES ******************************************************************************* +=== 1.0.13 === + + === 1.0.12 === * Added Stereo Split mode for stereo versions of plugins. * Implemented Linear Phase operating mode. diff --git a/project.mk b/project.mk index 63b0947..9cbe299 100644 --- a/project.mk +++ b/project.mk @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug ARTIFACT_DESC = LSP Multiband Gate Plugin Series ARTIFACT_HEADERS = lsp-plug.in ARTIFACT_EXPORT_HEADERS = 0 -ARTIFACT_VERSION = 1.0.12 +ARTIFACT_VERSION = 1.0.13-devel diff --git a/src/main/meta/mb_gate.cpp b/src/main/meta/mb_gate.cpp index 6c2268a..cb93c8c 100644 --- a/src/main/meta/mb_gate.cpp +++ b/src/main/meta/mb_gate.cpp @@ -26,7 +26,7 @@ #define LSP_PLUGINS_MB_GATE_VERSION_MAJOR 1 #define LSP_PLUGINS_MB_GATE_VERSION_MINOR 0 -#define LSP_PLUGINS_MB_GATE_VERSION_MICRO 12 +#define LSP_PLUGINS_MB_GATE_VERSION_MICRO 13 #define LSP_PLUGINS_MB_GATE_VERSION \ LSP_MODULE_VERSION( \ From ba1b2a9beed55b3ccc7763c2dfee1798f57c412c Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Tue, 5 Sep 2023 23:38:35 +0300 Subject: [PATCH 2/4] Code refactoring --- include/private/plugins/mb_gate.h | 5 ++++- src/main/plug/mb_gate.cpp | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/include/private/plugins/mb_gate.h b/include/private/plugins/mb_gate.h index 59f5508..fe169a6 100644 --- a/include/private/plugins/mb_gate.h +++ b/include/private/plugins/mb_gate.h @@ -238,9 +238,12 @@ namespace lsp static size_t select_fft_rank(size_t sample_rate); static void process_band(void *object, void *subject, size_t band, const float *data, size_t sample, size_t count); + protected: + void do_destroy(); + public: explicit mb_gate(const meta::plugin_t *metadata, bool sc, size_t mode); - virtual ~mb_gate(); + virtual ~mb_gate() override; virtual void init(plug::IWrapper *wrapper, plug::IPort **ports) override; virtual void destroy() override; diff --git a/src/main/plug/mb_gate.cpp b/src/main/plug/mb_gate.cpp index b5ee16f..b488966 100644 --- a/src/main/plug/mb_gate.cpp +++ b/src/main/plug/mb_gate.cpp @@ -132,6 +132,7 @@ namespace lsp mb_gate::~mb_gate() { + do_destroy(); } bool mb_gate::compare_bands_for_sort(const gate_band_t *b1, const gate_band_t *b2) @@ -188,6 +189,12 @@ namespace lsp } void mb_gate::destroy() + { + plug::Module::destroy(); + do_destroy(); + } + + void mb_gate::do_destroy() { // Determine number of channels size_t channels = (nMode == MBGM_MONO) ? 1 : 2; @@ -244,9 +251,6 @@ namespace lsp // Destroy analyzer sAnalyzer.destroy(); - - // Destroy plugin - plug::Module::destroy(); } void mb_gate::init(plug::IWrapper *wrapper, plug::IPort **ports) From a14a8489f2c58ec2a779fbe36a2e442a3f11c63d Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sun, 10 Sep 2023 02:53:59 +0300 Subject: [PATCH 3/4] Updated build scripts and dependencies --- CHANGELOG | 2 +- modules.mk | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 067fcba..0df1f68 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,7 +3,7 @@ ******************************************************************************* === 1.0.13 === - +* Updated build scripts and dependencies. === 1.0.12 === * Added Stereo Split mode for stereo versions of plugins. diff --git a/modules.mk b/modules.mk index bad98a7..749370f 100644 --- a/modules.mk +++ b/modules.mk @@ -19,62 +19,62 @@ # # Variables that describe dependencies -LSP_3RD_PARTY_VERSION := 1.0.11 +LSP_3RD_PARTY_VERSION := 1.0.12 LSP_3RD_PARTY_NAME := lsp-3rd-party LSP_3RD_PARTY_TYPE := hdr LSP_3RD_PARTY_INC_OPT := -idirafter LSP_3RD_PARTY_URL_RO := https://github.com/lsp-plugins/$(LSP_3RD_PARTY_NAME).git LSP_3RD_PARTY_URL_RW := git@github.com:lsp-plugins/$(LSP_3RD_PARTY_NAME).git -LSP_COMMON_LIB_VERSION := 1.0.30 +LSP_COMMON_LIB_VERSION := 1.0.31 LSP_COMMON_LIB_NAME := lsp-common-lib LSP_COMMON_LIB_TYPE := src LSP_COMMON_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_COMMON_LIB_NAME).git LSP_COMMON_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_COMMON_LIB_NAME).git -LSP_DSP_LIB_VERSION := 1.0.14 +LSP_DSP_LIB_VERSION := 1.0.16 LSP_DSP_LIB_NAME := lsp-dsp-lib LSP_DSP_LIB_TYPE := src LSP_DSP_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_LIB_NAME).git LSP_DSP_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_DSP_LIB_NAME).git -LSP_DSP_UNITS_VERSION := 1.0.13 +LSP_DSP_UNITS_VERSION := 1.0.15 LSP_DSP_UNITS_NAME := lsp-dsp-units LSP_DSP_UNITS_TYPE := src LSP_DSP_UNITS_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_UNITS_NAME).git LSP_DSP_UNITS_URL_RW := git@github.com:lsp-plugins/$(LSP_DSP_UNITS_NAME).git -LSP_LLTL_LIB_VERSION := 1.0.13 +LSP_LLTL_LIB_VERSION := 1.0.14 LSP_LLTL_LIB_NAME := lsp-lltl-lib LSP_LLTL_LIB_TYPE := src LSP_LLTL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_LLTL_LIB_NAME).git LSP_LLTL_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_LLTL_LIB_NAME).git -LSP_R3D_BASE_LIB_VERSION := 1.0.13 +LSP_R3D_BASE_LIB_VERSION := 1.0.14 LSP_R3D_BASE_LIB_NAME := lsp-r3d-base-lib LSP_R3D_BASE_LIB_TYPE := src LSP_R3D_BASE_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git LSP_R3D_BASE_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git -LSP_R3D_IFACE_VERSION := 1.0.13 +LSP_R3D_IFACE_VERSION := 1.0.14 LSP_R3D_IFACE_NAME := lsp-r3d-iface LSP_R3D_IFACE_TYPE := src LSP_R3D_IFACE_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_IFACE_NAME).git LSP_R3D_IFACE_URL_RW := git@github.com:lsp-plugins/$(LSP_R3D_IFACE_NAME).git -LSP_R3D_GLX_LIB_VERSION := 1.0.13 +LSP_R3D_GLX_LIB_VERSION := 1.0.14 LSP_R3D_GLX_LIB_NAME := lsp-r3d-glx-lib LSP_R3D_GLX_LIB_TYPE := bin LSP_R3D_GLX_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git LSP_R3D_GLX_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git -LSP_R3D_WGL_LIB_VERSION := 1.0.8 +LSP_R3D_WGL_LIB_VERSION := 1.0.9 LSP_R3D_WGL_LIB_NAME := lsp-r3d-wgl-lib LSP_R3D_WGL_LIB_TYPE := bin LSP_R3D_WGL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git LSP_R3D_WGL_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git -LSP_RUNTIME_LIB_VERSION := 1.0.16 +LSP_RUNTIME_LIB_VERSION := 1.0.17 LSP_RUNTIME_LIB_NAME := lsp-runtime-lib LSP_RUNTIME_LIB_TYPE := src LSP_RUNTIME_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git @@ -86,26 +86,26 @@ LSP_TEST_FW_TYPE := src LSP_TEST_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_TEST_FW_NAME).git LSP_TEST_FW_URL_RW := git@github.com:lsp-plugins/$(LSP_TEST_FW_NAME).git -LSP_TK_LIB_VERSION := 1.0.13 +LSP_TK_LIB_VERSION := 1.0.15 LSP_TK_LIB_NAME := lsp-tk-lib LSP_TK_LIB_TYPE := src LSP_TK_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_TK_LIB_NAME).git LSP_TK_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_TK_LIB_NAME).git -LSP_WS_LIB_VERSION := 1.0.13 +LSP_WS_LIB_VERSION := 1.0.15 LSP_WS_LIB_NAME := lsp-ws-lib LSP_WS_LIB_TYPE := src LSP_WS_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_WS_LIB_NAME).git LSP_WS_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_WS_LIB_NAME).git # Plugin-related module dependencies -LSP_PLUGIN_FW_VERSION := 1.0.15 +LSP_PLUGIN_FW_VERSION := 1.0.17 LSP_PLUGIN_FW_NAME := lsp-plugin-fw LSP_PLUGIN_FW_TYPE := src LSP_PLUGIN_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGIN_FW_NAME).git LSP_PLUGIN_FW_URL_RW := git@github.com:lsp-plugins/$(LSP_PLUGIN_FW_NAME).git -LSP_PLUGINS_SHARED_VERSION := 1.0.14 +LSP_PLUGINS_SHARED_VERSION := 1.0.16 LSP_PLUGINS_SHARED_NAME := lsp-plugins-shared LSP_PLUGINS_SHARED_TYPE := src LSP_PLUGINS_SHARED_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGINS_SHARED_NAME).git From 22d7c3839166d243ab9c48d39b9cc7e8b77063e6 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sun, 10 Sep 2023 13:27:17 +0300 Subject: [PATCH 4/4] Preparing for release --- project.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.mk b/project.mk index 9cbe299..8258de3 100644 --- a/project.mk +++ b/project.mk @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug ARTIFACT_DESC = LSP Multiband Gate Plugin Series ARTIFACT_HEADERS = lsp-plug.in ARTIFACT_EXPORT_HEADERS = 0 -ARTIFACT_VERSION = 1.0.13-devel +ARTIFACT_VERSION = 1.0.13