summaryrefslogtreecommitdiffstats
path: root/hosts/lv2_simple_jack_host.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-08 19:29:23 +0000
committerDavid Robillard <d@drobilla.net>2007-08-08 19:29:23 +0000
commit8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02 (patch)
tree7a4f57cb8257cd98e363a8d0c2a38cedd22afcb8 /hosts/lv2_simple_jack_host.c
parenta8320bb94d1809ce2d4873d539fd8e936bc2fdbd (diff)
downloadlilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.tar.gz
lilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.tar.bz2
lilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.zip
Update ingen for SLV2 changes.
SLV2 0.2.0. git-svn-id: http://svn.drobilla.net/lad/slv2@688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts/lv2_simple_jack_host.c')
-rw-r--r--hosts/lv2_simple_jack_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/lv2_simple_jack_host.c b/hosts/lv2_simple_jack_host.c
index 1c279ec..5543074 100644
--- a/hosts/lv2_simple_jack_host.c
+++ b/hosts/lv2_simple_jack_host.c
@@ -167,7 +167,7 @@ create_port(struct JackHost* host,
SLV2PortDataType type = slv2_port_get_data_type(host->plugin, port);
/* Connect control ports to controls array */
- if (type == SLV2_PORT_TYPE_CONTROL) {
+ if (type == SLV2_PORT_DATA_TYPE_CONTROL) {
/* Set default control values for inputs */
if (direction == SLV2_PORT_DIRECTION_INPUT) {
@@ -177,7 +177,7 @@ create_port(struct JackHost* host,
slv2_instance_connect_port(host->instance, index, &host->controls[index]);
- } else if (type == SLV2_PORT_TYPE_AUDIO) {
+ } else if (type == SLV2_PORT_DATA_TYPE_AUDIO) {
host->jack_ports[index] = jack_port_register(host->jack_client, symbol,
JACK_DEFAULT_AUDIO_TYPE,