diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 28 | ||||
-rw-r--r-- | src/jalv_internal.h | 2 |
2 files changed, 15 insertions, 15 deletions
@@ -159,7 +159,7 @@ create_port(Jalv* host, port->type = TYPE_EVENT; port->old_api = true; } else if (lilv_port_is_a(host->plugin, port->lilv_port, - host->msg_port_class)) { + host->atom_port_class)) { port->type = TYPE_EVENT; port->old_api = false; } else if (!optional) { @@ -759,19 +759,19 @@ main(int argc, char** argv) const LilvPlugins* plugins = lilv_world_get_all_plugins(world); /* Set up the port classes this app supports */ - host.input_class = lilv_new_uri(world, LILV_URI_INPUT_PORT); - host.output_class = lilv_new_uri(world, LILV_URI_OUTPUT_PORT); - host.control_class = lilv_new_uri(world, LILV_URI_CONTROL_PORT); - host.audio_class = lilv_new_uri(world, LILV_URI_AUDIO_PORT); - host.event_class = lilv_new_uri(world, LILV_URI_EVENT_PORT); - host.chunk_class = lilv_new_uri(world, LV2_ATOM__Chunk); - host.seq_class = lilv_new_uri(world, LV2_ATOM__Sequence); - host.msg_port_class = lilv_new_uri(world, LV2_ATOM__MessagePort); - host.midi_class = lilv_new_uri(world, LILV_URI_MIDI_EVENT); - host.preset_class = lilv_new_uri(world, NS_PSET "Preset"); - host.label_pred = lilv_new_uri(world, LILV_NS_RDFS "label"); - host.work_schedule = lilv_new_uri(world, LV2_WORKER__schedule); - host.optional = lilv_new_uri(world, LILV_NS_LV2 + host.input_class = lilv_new_uri(world, LILV_URI_INPUT_PORT); + host.output_class = lilv_new_uri(world, LILV_URI_OUTPUT_PORT); + host.control_class = lilv_new_uri(world, LILV_URI_CONTROL_PORT); + host.audio_class = lilv_new_uri(world, LILV_URI_AUDIO_PORT); + host.event_class = lilv_new_uri(world, LILV_URI_EVENT_PORT); + host.chunk_class = lilv_new_uri(world, LV2_ATOM__Chunk); + host.seq_class = lilv_new_uri(world, LV2_ATOM__Sequence); + host.atom_port_class = lilv_new_uri(world, LV2_ATOM__AtomPort); + host.midi_class = lilv_new_uri(world, LILV_URI_MIDI_EVENT); + host.preset_class = lilv_new_uri(world, NS_PSET "Preset"); + host.label_pred = lilv_new_uri(world, LILV_NS_RDFS "label"); + host.work_schedule = lilv_new_uri(world, LV2_WORKER__schedule); + host.optional = lilv_new_uri(world, LILV_NS_LV2 "connectionOptional"); /* Get plugin URI from loaded state or command line */ diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 6bbc291..c54c987 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -151,7 +151,7 @@ typedef struct { LilvNode* input_class; ///< Input port class (URI) LilvNode* label_pred; ///< rdfs:label LilvNode* midi_class; ///< MIDI event class (URI) - LilvNode* msg_port_class; ///< Atom event port class (URI) + LilvNode* atom_port_class; ///< Atom event port class (URI) LilvNode* optional; ///< lv2:connectionOptional port property LilvNode* output_class; ///< Output port class (URI) LilvNode* preset_class; ///< Preset class (URI) |