Browse Source

Print warning for plugins with state and presets but not full state

pull/83/head
falkTX 5 years ago
parent
commit
e170f81fbc
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      distrho/src/DistrhoPluginChecks.h

+ 2
- 1
distrho/src/DistrhoPluginChecks.h View File

@@ -126,7 +126,8 @@
// -----------------------------------------------------------------------
// Enable full state if plugin exports presets

#if DISTRHO_PLUGIN_WANT_PROGRAMS && DISTRHO_PLUGIN_WANT_STATE
#if DISTRHO_PLUGIN_WANT_PROGRAMS && DISTRHO_PLUGIN_WANT_STATE && ! DISTRHO_PLUGIN_WANT_FULL_STATE
# warning Plugins with programs and state need to implement full state API
# undef DISTRHO_PLUGIN_WANT_FULL_STATE
# define DISTRHO_PLUGIN_WANT_FULL_STATE 1
#endif


Loading…
Cancel
Save