Browse Source

Put LV2 preset labels in manifest.ttl

tags/2018-04-16
falkTX 9 years ago
parent
commit
dddca0e8f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp

+ 1
- 1
libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp View File

@@ -233,6 +233,7 @@ const String makeManifestFile (AudioProcessor* const filter, const String& binar
text += "<" + pluginURI + presetSeparator + "preset" + String::formatted("%03i", i+1) + ">\n";
text += " a pset:Preset ;\n";
text += " lv2:appliesTo <" + pluginURI + "> ;\n";
text += " rdfs:label \"" + filter->getProgramName(i) + "\" ;\n";
text += " rdfs:seeAlso <presets.ttl> .\n";
text += "\n";
}
@@ -442,7 +443,6 @@ const String makePresetsFile (AudioProcessor* const filter)
// Label
filter->setCurrentProgram(i);
preset += "<" + pluginURI + presetSeparator + "preset" + String::formatted("%03i", i+1) + "> a pset:Preset ;\n";
preset += " rdfs:label \"" + filter->getProgramName(i) + "\" ;\n";

// State
#if JucePlugin_WantsLV2State


Loading…
Cancel
Save