diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 12 | ||||
-rw-r--r-- | src/jalv_gtk2.c | 2 | ||||
-rw-r--r-- | src/jalv_internal.h | 14 |
3 files changed, 14 insertions, 14 deletions
@@ -718,19 +718,19 @@ main(int argc, char** argv) /* Cache URIs for concepts we'll use */ host.nodes.atom_AtomPort = lilv_new_uri(world, LV2_ATOM__AtomPort); - host.nodes.atom_Chunk = lilv_new_uri(world, LV2_ATOM__Chunk); + host.nodes.atom_Chunk = lilv_new_uri(world, LV2_ATOM__Chunk); host.nodes.atom_Sequence = lilv_new_uri(world, LV2_ATOM__Sequence); host.nodes.ev_EventPort = lilv_new_uri(world, LV2_EVENT__EventPort); - host.nodes.lv2_AudioPort = lilv_new_uri(world, LV2_CORE__AudioPort); + host.nodes.lv2_AudioPort = lilv_new_uri(world, LV2_CORE__AudioPort); host.nodes.lv2_ControlPort = lilv_new_uri(world, LV2_CORE__ControlPort); host.nodes.lv2_InputPort = lilv_new_uri(world, LV2_CORE__InputPort); - host.nodes.lv2_OutputPort = lilv_new_uri(world, LV2_CORE__OutputPort); + host.nodes.lv2_OutputPort = lilv_new_uri(world, LV2_CORE__OutputPort); host.nodes.lv2_connectionOptional = lilv_new_uri(world, LV2_CORE__connectionOptional); host.nodes.midi_MidiEvent = lilv_new_uri(world, LV2_MIDI__MidiEvent); - host.nodes.pset_Preset = lilv_new_uri(world, LV2_PRESETS__Preset); + host.nodes.pset_Preset = lilv_new_uri(world, LV2_PRESETS__Preset); host.nodes.rdfs_label = lilv_new_uri(world, LILV_NS_RDFS "label"); - host.nodes.work_interface = lilv_new_uri(world, LV2_WORKER__interface); - host.nodes.work_schedule = lilv_new_uri(world, LV2_WORKER__schedule); + host.nodes.work_interface = lilv_new_uri(world, LV2_WORKER__interface); + host.nodes.work_schedule = lilv_new_uri(world, LV2_WORKER__schedule); /* Get plugin URI from loaded state or command line */ LilvState* state = NULL; diff --git a/src/jalv_gtk2.c b/src/jalv_gtk2.c index 178e14a..c5184cd 100644 --- a/src/jalv_gtk2.c +++ b/src/jalv_gtk2.c @@ -438,7 +438,7 @@ build_control_widget(Jalv* jalv, GtkWidget* window) lilv_node_free(lv2_toggled); lilv_node_free(lv2_enum); lilv_node_free(rdfs_comment); - + if (num_controls > 0) { gtk_window_set_resizable(GTK_WINDOW(window), TRUE); GtkWidget* alignment = gtk_alignment_new(0.5, 0.0, 1.0, 0.0); diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 06114f2..87abddb 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -107,19 +107,19 @@ typedef struct { typedef struct { LilvNode* atom_AtomPort; - LilvNode* atom_Chunk; + LilvNode* atom_Chunk; LilvNode* atom_Sequence; LilvNode* ev_EventPort; - LilvNode* lv2_AudioPort; + LilvNode* lv2_AudioPort; LilvNode* lv2_ControlPort; LilvNode* lv2_InputPort; - LilvNode* lv2_OutputPort; + LilvNode* lv2_OutputPort; LilvNode* lv2_connectionOptional; LilvNode* midi_MidiEvent; - LilvNode* pset_Preset; + LilvNode* pset_Preset; LilvNode* rdfs_label; - LilvNode* work_interface; - LilvNode* work_schedule; + LilvNode* work_interface; + LilvNode* work_schedule; } JalvNodes; typedef enum { @@ -172,7 +172,7 @@ typedef struct { uint32_t midi_event_id; ///< MIDI event class ID in event context bool buf_size_set; ///< True iff buffer size callback fired bool exit; ///< True iff execution is finished - bool has_ui; ///< True iff a control UI is present + bool has_ui; ///< True iff a control UI is present } Jalv; int |