aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/sampler.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-10 06:14:13 +0000
committerDavid Robillard <d@drobilla.net>2013-01-10 06:14:13 +0000
commitecebae5e6b1935b5ccebbc46538ab0a1e58379bf (patch)
treee62f830e6faae5b9b29ca4b3356e7bde3f97bf26 /plugins/eg-sampler.lv2/sampler.c
parent413f33c3bbe27c6835592d892be8628ecfa09b24 (diff)
downloadlv2-ecebae5e6b1935b5ccebbc46538ab0a1e58379bf.tar.xz
Expose sampler parameter to host.
Update to new definition of patch:Set.
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler.c')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index eb6b496..5bb4e54 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -423,7 +423,7 @@ save(LV2_Handle instance,
char* apath = map_path->abstract_path(map_path->handle, self->sample->path);
store(handle,
- self->uris.eg_file,
+ self->uris.eg_sample,
apath,
strlen(self->sample->path) + 1,
self->uris.atom_Path,
@@ -449,7 +449,7 @@ restore(LV2_Handle instance,
const void* value = retrieve(
handle,
- self->uris.eg_file,
+ self->uris.eg_sample,
&size, &type, &valflags);
if (value) {