From ecebae5e6b1935b5ccebbc46538ab0a1e58379bf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 Jan 2013 06:14:13 +0000 Subject: Expose sampler parameter to host. Update to new definition of patch:Set. --- plugins/eg-sampler.lv2/sampler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/eg-sampler.lv2/sampler.c') 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) { -- cgit v1.2.1