diff options
author | David Robillard <d@drobilla.net> | 2008-05-12 02:40:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-12 02:40:48 +0000 |
commit | 8ca72c4eca3a712f5368680ba0fbce5beb831324 (patch) | |
tree | 65b29e7fe4bb0d28f8a113bf014e831d98c7d50b /gtk2_ardour/midi_time_axis.h | |
parent | a76e2128efea2d48fd873e95fd7c0f0b6f6135b3 (diff) |
Fix various MIDI corruption bugs.
Re-enable MIDI CC controller bars and other immediate output (hans commented out, tsk tsk).
Write channel mode as textual enumeration instead of magic number.
Better atomic (almost) channel mode switching on MIDI ring buffer (was a possible, if unlikely, source of corruption).
Handle some cases of broken MIDI, and oversized events, more gracefully.
git-svn-id: svn://localhost/ardour2/branches/3.0@3335 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 98cc5bb0b7..cdbf6907e1 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -74,11 +74,8 @@ class MidiTimeAxisView : public RouteTimeAxisView void update_range(); - sigc::signal<void, uint16_t>& signal_channel_selection_changed() - { return _channel_selector.selection_changed; } - - sigc::signal<void, int8_t>& signal_force_channel_changed() - { return _channel_selector.force_channel_changed; } + sigc::signal<void, ARDOUR::ChannelMode, uint16_t>& signal_channel_mode_changed() + { return _channel_selector.mode_changed; } private: |