Browse Source

Give warning when exporting lv2 presets and using state (NIY)

pull/6/head
falkTX 8 years ago
parent
commit
ea0c0a4869
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      distrho/src/DistrhoPluginLV2export.cpp

+ 4
- 2
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -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)


Loading…
Cancel
Save