diff options
author | David Robillard <d@drobilla.net> | 2007-08-07 23:46:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-08-07 23:46:09 +0000 |
commit | f95cf059a72e6185c4d72696e0620a673c3683cd (patch) | |
tree | 15893a57cb2c5765e2b04043eb73171ddea87982 /hosts | |
parent | a3ed37433cd283109b2593c7f47421e9e61327c5 (diff) | |
download | lilv-f95cf059a72e6185c4d72696e0620a673c3683cd.tar.gz lilv-f95cf059a72e6185c4d72696e0620a673c3683cd.tar.bz2 lilv-f95cf059a72e6185c4d72696e0620a673c3683cd.zip |
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
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/lv2_jack_host.c | 4 | ||||
-rw-r--r-- | hosts/lv2_simple_jack_host.c | 2 |
2 files changed, 3 insertions, 3 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); 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) { |