Merge pull request #281 from jpcima/lv2-carla

carla LV2 workaround: rename the scala file URI
This commit is contained in:
JP Cimalando 2020-06-20 00:44:18 +02:00 committed by GitHub
commit 04e699fe83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -61,7 +61,7 @@
#define SFIZZ_URI "http://sfztools.github.io/sfizz"
#define SFIZZ_PREFIX SFIZZ_URI "#"
#define SFIZZ__sfzFile "http://sfztools.github.io/sfizz:sfzfile"
#define SFIZZ__scalaFile "http://sfztools.github.io/sfizz:scalafile"
#define SFIZZ__tuningfile "http://sfztools.github.io/sfizz:tuningfile"
#define SFIZZ__numVoices "http://sfztools.github.io/sfizz:numvoices"
#define SFIZZ__preloadSize "http://sfztools.github.io/sfizz:preload_size"
#define SFIZZ__oversampling "http://sfztools.github.io/sfizz:oversampling"
@ -196,7 +196,7 @@ sfizz_lv2_map_required_uris(sfizz_plugin_t *self)
self->patch_value_uri = map->map(map->handle, LV2_PATCH__value);
self->state_changed_uri = map->map(map->handle, LV2_STATE__StateChanged);
self->sfizz_sfz_file_uri = map->map(map->handle, SFIZZ__sfzFile);
self->sfizz_scala_file_uri = map->map(map->handle, SFIZZ__scalaFile);
self->sfizz_scala_file_uri = map->map(map->handle, SFIZZ__tuningfile);
self->sfizz_num_voices_uri = map->map(map->handle, SFIZZ__numVoices);
self->sfizz_preload_size_uri = map->map(map->handle, SFIZZ__preloadSize);
self->sfizz_oversampling_uri = map->map(map->handle, SFIZZ__oversampling);

View file

@ -41,7 +41,7 @@ midnam:update a lv2:Feature .
"File SFZ"@it ;
rdfs:range atom:Path .
<@LV2PLUGIN_URI@:scalafile>
<@LV2PLUGIN_URI@:tuningfile>
a lv2:Parameter ;
pg:group <@LV2PLUGIN_URI@#tuning> ;
rdfs:label "Scala file",
@ -77,7 +77,7 @@ midnam:update a lv2:Feature .
opts:supportedOption bufsize:maxBlockLength, bufsize:nominalBlockLength ;
patch:writable <@LV2PLUGIN_URI@:sfzfile> ;
patch:writable <@LV2PLUGIN_URI@:scalafile> ;
patch:writable <@LV2PLUGIN_URI@:tuningfile> ;
lv2:port [
a lv2:InputPort, atom:AtomPort ;