Browse Source

Latency ports are integer

gh-pages
falkTX 9 years ago
parent
commit
947afbdebc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginLADSPA+DSSI.cpp
  2. +1
    -1
      distrho/src/DistrhoPluginLV2export.cpp

+ 1
- 1
distrho/src/DistrhoPluginLADSPA+DSSI.cpp View File

@@ -557,7 +557,7 @@ public:
// Set latency port
portNames[port] = strdup("_latency");
portDescriptors[port] = LADSPA_PORT_CONTROL | LADSPA_PORT_OUTPUT;
portRangeHints[port].HintDescriptor = LADSPA_HINT_SAMPLE_RATE;
portRangeHints[port].HintDescriptor = LADSPA_HINT_SAMPLE_RATE|LADSPA_HINT_INTEGER;
portRangeHints[port].LowerBound = 0.0f;
portRangeHints[port].UpperBound = 1.0f;
++port;


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

@@ -275,7 +275,7 @@ void lv2_generate_ttl(const char* const basename)
pluginString += " lv2:name \"Latency\" ;\n";
pluginString += " lv2:symbol \"lv2_latency\" ;\n";
pluginString += " lv2:designation lv2:latency ;\n";
pluginString += " lv2:portProperty lv2:reportsLatency ;\n";
pluginString += " lv2:portProperty lv2:reportsLatency, lv2:integer ;\n";
pluginString += " ] ;\n\n";
++portIndex;
#endif


Loading…
Cancel
Save