diff --git a/distrho/DistrhoInfo.hpp b/distrho/DistrhoInfo.hpp index b314b3fa..bdd4878d 100644 --- a/distrho/DistrhoInfo.hpp +++ b/distrho/DistrhoInfo.hpp @@ -565,6 +565,12 @@ START_NAMESPACE_DISTRHO */ #define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT 1 +/** + Whether the plugin uses MIDI MPE for MIDI input and MIDI output. + @note Only CLAP implements this macro at the moment +*/ +#define DISTRHO_PLUGIN_MIDI_MPE 0 + /** Whether the plugin wants to change its own parameter inputs.@n Not all hosts or plugin formats support this, @@ -822,11 +828,6 @@ START_NAMESPACE_DISTRHO */ #define DISTRHO_PLUGIN_CLAP_ID "studio.kx.distrho.effect" -/** - Whether the plugin supports and prefers the MIDI MPE dialect for MIDI input and MIDI output in the CLAP format. -*/ -#define DISTRHO_PLUGIN_CLAP_DIALECT_MIDI_MPE 0 - /** @} */ /* ------------------------------------------------------------------------------------------------------------ diff --git a/distrho/src/DistrhoPluginCLAP.cpp b/distrho/src/DistrhoPluginCLAP.cpp index ea7e0be5..687fb100 100644 --- a/distrho/src/DistrhoPluginCLAP.cpp +++ b/distrho/src/DistrhoPluginCLAP.cpp @@ -67,7 +67,7 @@ # define DPF_CLAP_TIMER_INTERVAL 16 /* ~60 fps */ #endif -#if defined(DISTRHO_PLUGIN_CLAP_DIALECT_MIDI_MPE) && DISTRHO_PLUGIN_CLAP_DIALECT_MIDI_MPE +#if defined(DISTRHO_PLUGIN_MIDI_MPE) && DISTRHO_PLUGIN_MIDI_MPE # define DPF_CLAP_NOTE_DIALECT CLAP_NOTE_DIALECT_MIDI_MPE #else # define DPF_CLAP_NOTE_DIALECT CLAP_NOTE_DIALECT_MIDI