summaryrefslogtreecommitdiffstats
path: root/hosts/lv2_jack_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/lv2_jack_host.c')
-rw-r--r--hosts/lv2_jack_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index c185e87..660c14c 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -32,7 +32,7 @@
struct Port {
SLV2PortDirection direction;
- SLV2PortType type;
+ SLV2PortDataType type;
SLV2Port slv2_port;
jack_port_t* jack_port; /**< For audio and MIDI ports, otherwise NULL */
float control; /**< For control ports, otherwise 0.0f */
@@ -188,7 +188,7 @@ create_port(struct JackHost* host,
port->direction = slv2_port_get_direction(host->plugin, port->slv2_port);
/* Get the (data) type of the port (control, audio, MIDI, OSC) */
- port->type = slv2_port_get_type(host->plugin, port->slv2_port);
+ port->type = slv2_port_get_data_type(host->plugin, port->slv2_port);
if (port->type == SLV2_PORT_TYPE_CONTROL)
port->control = slv2_port_get_default_value(host->plugin, port->slv2_port);