DPF

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

commit 5f0d913a59121007b08fa21d0454b90906a8680d
parent 9c14be03a672c51c52bbd93abf95f3d67cdb0619
Author: falkTX <falktx@falktx.com>
Date:   Fri, 14 Apr 2023 11:33:04 +0200

Allow to skip error with DISTRHO_PLUGIN_WANT_FULL_STATE_WITH_LADSPA

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

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

diff --git a/distrho/src/DistrhoPluginLADSPA+DSSI.cpp b/distrho/src/DistrhoPluginLADSPA+DSSI.cpp @@ -1,6 +1,6 @@ /* * DISTRHO Plugin Framework (DPF) - * Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> + * Copyright (C) 2012-2023 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this @@ -22,7 +22,7 @@ #if DISTRHO_PLUGIN_WANT_MIDI_OUTPUT # error Cannot use MIDI Output with LADSPA or DSSI #endif -#if DISTRHO_PLUGIN_WANT_FULL_STATE +#if DISTRHO_PLUGIN_WANT_FULL_STATE && !defined(DISTRHO_PLUGIN_WANT_FULL_STATE_WITH_LADSPA) # error Cannot use full state with LADSPA or DSSI #endif