|
@@ -201,6 +201,7 @@ void lv2_generate_ttl(const char* const basename) |
|
|
#ifdef DISTRHO_PLUGIN_BRAND |
|
|
#ifdef DISTRHO_PLUGIN_BRAND |
|
|
pluginString += "@prefix mod: <http://moddevices.com/ns/mod#> .\n"; |
|
|
pluginString += "@prefix mod: <http://moddevices.com/ns/mod#> .\n"; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
pluginString += "@prefix opts: <" LV2_OPTIONS_PREFIX "> .\n"; |
|
|
pluginString += "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n"; |
|
|
pluginString += "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n"; |
|
|
pluginString += "@prefix rsz: <" LV2_RESIZE_PORT_PREFIX "> .\n"; |
|
|
pluginString += "@prefix rsz: <" LV2_RESIZE_PORT_PREFIX "> .\n"; |
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
@@ -254,6 +255,12 @@ void lv2_generate_ttl(const char* const basename) |
|
|
#endif |
|
|
#endif |
|
|
pluginString += ";\n\n"; |
|
|
pluginString += ";\n\n"; |
|
|
|
|
|
|
|
|
|
|
|
// supportedOptions |
|
|
|
|
|
pluginString += " opts:supportedOption <" LV2_BUF_SIZE__nominalBlockLength "> ,\n"; |
|
|
|
|
|
pluginString += " <" LV2_BUF_SIZE__maxBlockLength "> ,\n"; |
|
|
|
|
|
pluginString += " <" LV2_PARAMETERS__sampleRate "> ;\n"; |
|
|
|
|
|
pluginString += "\n"; |
|
|
|
|
|
|
|
|
// UI |
|
|
// UI |
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
pluginString += " ui:ui <" DISTRHO_UI_URI "> ;\n"; |
|
|
pluginString += " ui:ui <" DISTRHO_UI_URI "> ;\n"; |
|
@@ -583,8 +590,9 @@ void lv2_generate_ttl(const char* const basename) |
|
|
std::fstream uiFile(uiTTL, std::ios::out); |
|
|
std::fstream uiFile(uiTTL, std::ios::out); |
|
|
|
|
|
|
|
|
String uiString; |
|
|
String uiString; |
|
|
uiString += "@prefix lv2: <" LV2_CORE_PREFIX "> .\n"; |
|
|
|
|
|
uiString += "@prefix ui: <" LV2_UI_PREFIX "> .\n"; |
|
|
|
|
|
|
|
|
uiString += "@prefix lv2: <" LV2_CORE_PREFIX "> .\n"; |
|
|
|
|
|
uiString += "@prefix ui: <" LV2_UI_PREFIX "> .\n"; |
|
|
|
|
|
uiString += "@prefix opts: <" LV2_OPTIONS_PREFIX "> .\n"; |
|
|
uiString += "\n"; |
|
|
uiString += "\n"; |
|
|
|
|
|
|
|
|
uiString += "<" DISTRHO_UI_URI ">\n"; |
|
|
uiString += "<" DISTRHO_UI_URI ">\n"; |
|
@@ -603,7 +611,9 @@ void lv2_generate_ttl(const char* const basename) |
|
|
uiString += "\n"; |
|
|
uiString += "\n"; |
|
|
# endif |
|
|
# endif |
|
|
uiString += " lv2:requiredFeature <" LV2_OPTIONS__options "> ,\n"; |
|
|
uiString += " lv2:requiredFeature <" LV2_OPTIONS__options "> ,\n"; |
|
|
uiString += " <" LV2_URID__map "> .\n"; |
|
|
|
|
|
|
|
|
uiString += " <" LV2_URID__map "> ;\n"; |
|
|
|
|
|
|
|
|
|
|
|
uiString += " opts:supportedOption <" LV2_PARAMETERS__sampleRate "> .\n"; |
|
|
|
|
|
|
|
|
uiFile << uiString << std::endl; |
|
|
uiFile << uiString << std::endl; |
|
|
uiFile.close(); |
|
|
uiFile.close(); |
|
|