commit ea0c0a486954a318817fdf94ad913fbde212e2ff parent 752dd19b0bb3f898266000b772c58214f32587c3 Author: falkTX <falktx@gmail.com> Date: Fri, 6 Nov 2015 09:42:33 +0100 Give warning when exporting lv2 presets and using state (NIY) Diffstat:
M | distrho/src/DistrhoPluginLV2export.cpp | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp @@ -536,8 +536,9 @@ void lv2_generate_ttl(const char* const basename) presetString = "<" DISTRHO_PLUGIN_URI + presetSeparator + "preset" + strBuf + ">\n"; - // TODO -# if 0 // DISTRHO_PLUGIN_WANT_STATE +# if DISTRHO_PLUGIN_WANT_STATE +# warning "Exporting LV2 Presets with state not supported yet" +# if 0 for (uint32_t j=0; j<numStates; ++j) { if (j == 0) @@ -562,6 +563,7 @@ void lv2_generate_ttl(const char* const basename) presetString += " ] ,\n"; } } +# endif # endif for (uint32_t j=0; j <numParameters; ++j)