Browse Source

Merge branch 'master' into develop

Signed-off-by: falkTX <falktx@falktx.com>

Conflicts:
	distrho/src/DistrhoPluginLV2export.cpp
pull/148/head
falkTX 6 years ago
parent
commit
636835f63c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginLV2export.cpp
  2. +2
    -0
      distrho/src/DistrhoUILV2.cpp

+ 1
- 1
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -157,7 +157,7 @@ void lv2_generate_ttl(const char* const basename)
manifestString += " <" LV2_INSTANCE_ACCESS_URI "> ,\n";
manifestString += " <" LV2_OPTIONS__options "> ,\n";
manifestString += " <" LV2_URID__map "> ;\n";
manifestString += " opts:supportedOption <" LV2_PARAMETERS__sampleRate "> ;\n";
manifestString += " opts:supportedOption <" LV2_PARAMETERS__sampleRate "> .\n";
# else // DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
manifestString += " rdfs:seeAlso <" + uiTTL + "> .\n";
# endif // DISTRHO_PLUGIN_WANT_DIRECT_ACCESS


+ 2
- 0
distrho/src/DistrhoUILV2.cpp View File

@@ -388,6 +388,8 @@ static LV2UI_Handle lv2ui_instantiate(const LV2UI_Descriptor*, const char* uri,
uiResize = (const LV2UI_Resize*)features[i]->data;
else if (std::strcmp(features[i]->URI, LV2_UI__parent) == 0)
parentId = features[i]->data;
else if (std::strcmp(features[i]->URI, LV2_UI__touch) == 0)
uiTouch = (const LV2UI_Touch*)features[i]->data;
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
else if (std::strcmp(features[i]->URI, LV2_DATA_ACCESS_URI) == 0)
extData = (const LV2_Extension_Data_Feature*)features[i]->data;


Loading…
Cancel
Save