DPF

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

commit 2b71c884ac733e1f029c44f15cf060ec7417c8a6
parent 35cfb34053791828f91b3ecb69f985d24888df8a
Author: falkTX <falktx@falktx.com>
Date:   Sun, 14 Apr 2019 21:30:39 +0900

Merge branch 'master' into develop

Diffstat:
MMakefile.base.mk | 2++
Mdistrho/DistrhoInfo.hpp | 10++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Makefile.base.mk b/Makefile.base.mk @@ -128,6 +128,8 @@ ifeq ($(WINDOWS),true) # mingw has issues with this specific optimization # See https://github.com/falkTX/Carla/issues/696 BASE_OPTS += -fno-rerun-cse-after-loop +# See https://github.com/falkTX/Carla/issues/855 +BASE_OPTS += -mstackrealign ifeq ($(BUILDING_FOR_WINDOWS),true) BASE_FLAGS += -DBUILDING_CARLA_FOR_WINDOWS endif diff --git a/distrho/DistrhoInfo.hpp b/distrho/DistrhoInfo.hpp @@ -544,6 +544,16 @@ START_NAMESPACE_DISTRHO #define DISTRHO_PLUGIN_WANT_STATE 1 /** + Wherever the plugin implements the full state API. + When this macro is enabled, the plugin must implement a new getState(const char* key) function, which the host calls when saving its session/project. + This is useful for plugins that have custom internal values not exposed to the host as key-value state pairs or parameters. + Most simple effects and synths will not need this. + @note this macro is automatically enabled if a plugin has programs and state, as the key-value state pairs need to be updated when the current program changes. + @see Plugin::getState(const char*) + */ +#define DISTRHO_PLUGIN_WANT_FULL_STATE 1 + +/** Wherever the plugin wants time position information from the host. @see Plugin::getTimePosition() */