From 0fe8ea55644ad70bcb10b4b2c840370fdc2339c5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 May 2014 14:38:16 +0000 Subject: Support Jack CV and OSC via metadata. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5398 a436a847-0d15-0410-975c-d299462d15a1 --- src/Configuration.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Configuration.cpp') diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 74bcb25..152c2f0 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -30,7 +30,9 @@ static const char* port_type_names[N_PORT_TYPES] = { "JACK_AUDIO", "JACK_MIDI", - "ALSA_MIDI" + "ALSA_MIDI", + "JACK_OSC", + "JACK_CV" }; Configuration::Configuration() @@ -41,8 +43,10 @@ Configuration::Configuration() , _show_toolbar(true) { _port_colors[JACK_AUDIO] = _default_port_colors[JACK_AUDIO] = 0x3E5E00FF; - _port_colors[JACK_MIDI] = _default_port_colors[JACK_MIDI] = 0x650300FF; - _port_colors[ALSA_MIDI] = _default_port_colors[ALSA_MIDI] = 0x2D0043FF; + _port_colors[JACK_MIDI] = _default_port_colors[JACK_MIDI] = 0x650300FF; + _port_colors[ALSA_MIDI] = _default_port_colors[ALSA_MIDI] = 0x2D0043FF; + _port_colors[JACK_OSC] = _default_port_colors[JACK_OSC] = 0x4100FEFF; + _port_colors[JACK_CV] = _default_port_colors[JACK_CV] = 0x005E4EFF; } bool -- cgit v1.2.1