diff options
Diffstat (limited to 'src/masher.c')
-rw-r--r-- | src/masher.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/masher.c b/src/masher.c index a0a570a..6d501c5 100644 --- a/src/masher.c +++ b/src/masher.c @@ -97,22 +97,23 @@ activate(LV2_Handle instance) /* Connect a port to a data location */ static void connect_port(LV2_Handle instance, - uint32_t port, void * location) + uint32_t port, + void * data) { Masher *plugin = (Masher *) instance; switch (port) { case MASHER_INPUT: - plugin->input = location; + plugin->input = (float*)data; break; case MASHER_GRAINPITCH: - plugin->grain_pitch = location; + plugin->grain_pitch = (float*)data; break; case MASHER_DENSITY: - plugin->density = location; + plugin->density = (float*)data; break; case MASHER_OUTPUT: - plugin->output = location; + plugin->output = (float*)data; break; } } |