From 64f7c134aabf7b336b90cf3b8954a791ae91b546 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Feb 2012 03:18:21 +0000 Subject: Send a proper file URI to load sample instead of a path string. --- plugins/eg-sampler.lv2/uris.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/eg-sampler.lv2/uris.h') diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index a607737..8c8801a 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -25,7 +25,7 @@ #define SAMPLER_URI "http://lv2plug.in/plugins/eg-sampler" #define MIDI_EVENT_URI "http://lv2plug.in/ns/ext/midi#MidiEvent" -#define FILENAME_URI SAMPLER_URI "#filename" +#define FILE_URI SAMPLER_URI "#file" #define APPLY_SAMPLE_URI SAMPLER_URI "#applySample" #define FREE_SAMPLE_URI SAMPLER_URI "#freeSample" @@ -34,7 +34,7 @@ typedef struct { LV2_URID atom_Resource; LV2_URID eg_applySample; LV2_URID eg_freeSample; - LV2_URID eg_filename; + LV2_URID eg_file; LV2_URID midi_Event; LV2_URID msg_Set; LV2_URID msg_body; @@ -47,7 +47,7 @@ map_sampler_uris(LV2_URID_Map* map, SamplerURIs* uris) uris->atom_Blank = map->map(map->handle, NS_ATOM "Blank"); uris->atom_Resource = map->map(map->handle, NS_ATOM "Resource"); uris->eg_applySample = map->map(map->handle, APPLY_SAMPLE_URI); - uris->eg_filename = map->map(map->handle, FILENAME_URI); + uris->eg_file = map->map(map->handle, FILE_URI); uris->eg_freeSample = map->map(map->handle, FREE_SAMPLE_URI); uris->midi_Event = map->map(map->handle, MIDI_EVENT_URI); uris->msg_Set = map->map(map->handle, LV2_MESSAGE_Set); -- cgit v1.2.1