aboutsummaryrefslogtreecommitdiffstats
path: root/src/waveguide_mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/waveguide_mesh.c')
-rw-r--r--src/waveguide_mesh.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/waveguide_mesh.c b/src/waveguide_mesh.c
index 045a478..93a7cfe 100644
--- a/src/waveguide_mesh.c
+++ b/src/waveguide_mesh.c
@@ -123,29 +123,29 @@ activate(LV2_Handle instance)
static void
connect_port(LV2_Handle instance,
uint32_t port,
- void* location)
+ void* data)
{
WgMesh* plugin;
plugin = (WgMesh*)instance;
switch (port) {
case MESH_INPUT1:
- plugin->input1 = location;
+ plugin->input1 = (float*)data;
break;
case MESH_OUTPUT:
- plugin->output = location;
+ plugin->output = (float*)data;
break;
case MESH_TENSION:
- plugin->tension = location;
+ plugin->tension = (float*)data;
break;
case MESH_POWER:
- plugin->power = location;
+ plugin->power = (float*)data;
break;
case MESH_EX_X:
- plugin->ex_x = location;
+ plugin->ex_x = (float*)data;
break;
case MESH_EX_Y:
- plugin->ex_y = location;
+ plugin->ex_y = (float*)data;
break;
}
}