From f95cf059a72e6185c4d72696e0620a673c3683cd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 7 Aug 2007 23:46:09 +0000 Subject: Changed slv2_port_get_type to slv2_port_get_data_type, and SLV2PortType to SLV2PortDataType. Fixed autoconf warning. git-svn-id: http://svn.drobilla.net/lad/slv2@682 a436a847-0d15-0410-975c-d299462d15a1 --- hosts/lv2_jack_host.c | 4 ++-- hosts/lv2_simple_jack_host.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hosts') 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); diff --git a/hosts/lv2_simple_jack_host.c b/hosts/lv2_simple_jack_host.c index 4b1bcc3..1c279ec 100644 --- a/hosts/lv2_simple_jack_host.c +++ b/hosts/lv2_simple_jack_host.c @@ -164,7 +164,7 @@ create_port(struct JackHost* host, SLV2PortDirection direction = slv2_port_get_direction(host->plugin, port); /* Get the (data) type of the port (control, audio, MIDI, OSC) */ - SLV2PortType type = slv2_port_get_type(host->plugin, port); + SLV2PortDataType type = slv2_port_get_data_type(host->plugin, port); /* Connect control ports to controls array */ if (type == SLV2_PORT_TYPE_CONTROL) { -- cgit v1.2.1