diff options
| author | David Robillard <d@drobilla.net> | 2014-11-02 07:07:53 +0000 | 
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2014-11-02 07:07:53 +0000 | 
| commit | 6e19a062b248de1a5de60e5782ef4a8bb2826f47 (patch) | |
| tree | 90975c3bf5b7ef717cdcf55f54584e2de7c37335 /plugins/eg-sampler.lv2/uris.h | |
| parent | ea1229258e449fb11708b1f97a528ab56264bbbd (diff) | |
| download | lv2-6e19a062b248de1a5de60e5782ef4a8bb2826f47.tar.xz | |
Add gain parameter to eg-sampler.
Diffstat (limited to 'plugins/eg-sampler.lv2/uris.h')
| -rw-r--r-- | plugins/eg-sampler.lv2/uris.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index c21c6c8..e7c4dcd 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -21,6 +21,7 @@  #include "lv2/lv2plug.in/ns/ext/log/log.h"  #include "lv2/lv2plug.in/ns/ext/midi/midi.h"  #include "lv2/lv2plug.in/ns/ext/state/state.h" +#include "lv2/lv2plug.in/ns/ext/parameters/parameters.h"  #define EG_SAMPLER_URI          "http://lv2plug.in/plugins/eg-sampler"  #define EG_SAMPLER__sample      EG_SAMPLER_URI "#sample" @@ -28,6 +29,7 @@  #define EG_SAMPLER__freeSample  EG_SAMPLER_URI "#freeSample"  typedef struct { +	LV2_URID atom_Float;  	LV2_URID atom_Path;  	LV2_URID atom_Resource;  	LV2_URID atom_Sequence; @@ -37,6 +39,7 @@ typedef struct {  	LV2_URID eg_sample;  	LV2_URID eg_freeSample;  	LV2_URID midi_Event; +	LV2_URID param_gain;  	LV2_URID patch_Get;  	LV2_URID patch_Set;  	LV2_URID patch_property; @@ -46,6 +49,7 @@ typedef struct {  static inline void  map_sampler_uris(LV2_URID_Map* map, SamplerURIs* uris)  { +	uris->atom_Float         = map->map(map->handle, LV2_ATOM__Float);  	uris->atom_Path          = map->map(map->handle, LV2_ATOM__Path);  	uris->atom_Resource      = map->map(map->handle, LV2_ATOM__Resource);  	uris->atom_Sequence      = map->map(map->handle, LV2_ATOM__Sequence); @@ -55,6 +59,7 @@ map_sampler_uris(LV2_URID_Map* map, SamplerURIs* uris)  	uris->eg_freeSample      = map->map(map->handle, EG_SAMPLER__freeSample);  	uris->eg_sample          = map->map(map->handle, EG_SAMPLER__sample);  	uris->midi_Event         = map->map(map->handle, LV2_MIDI__MidiEvent); +	uris->param_gain         = map->map(map->handle, LV2_PARAMETERS__gain);  	uris->patch_Get          = map->map(map->handle, LV2_PATCH__Get);  	uris->patch_Set          = map->map(map->handle, LV2_PATCH__Set);  	uris->patch_property     = map->map(map->handle, LV2_PATCH__property);  |