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
This commit is contained in:
David Robillard 2008-05-12 02:40:48 +00:00
parent a76e2128ef
commit 8ca72c4eca
17 changed files with 351 additions and 297 deletions

View file

@ -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: