diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-26 20:49:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-26 20:49:52 +0000 |
commit | 266030b79c19c144cc093d69ee57117f742f8347 (patch) | |
tree | 7d992a45b0944b6cd51aabf4914ae85b51495112 /libs/surfaces/generic_midi/midicontrollable.cc | |
parent | dde521f2c60757814c2e3f73d01dd60d7a9b1c95 (diff) |
some generic midi debugging plus an assert
git-svn-id: svn://localhost/ardour2/branches/3.0@12950 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/generic_midi/midicontrollable.cc')
-rw-r--r-- | libs/surfaces/generic_midi/midicontrollable.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaces/generic_midi/midicontrollable.cc b/libs/surfaces/generic_midi/midicontrollable.cc index f866bab2bb..f721e7fbbc 100644 --- a/libs/surfaces/generic_midi/midicontrollable.cc +++ b/libs/surfaces/generic_midi/midicontrollable.cc @@ -210,6 +210,7 @@ MIDIControllable::lookup_controllable() void MIDIControllable::drop_controllable () { + cerr << "removed controllable\n"; controllable_death_connection.disconnect (); controllable = 0; } @@ -243,6 +244,8 @@ MIDIControllable::midi_sense_controller (Parser &, EventTwoBytes *msg) } } + assert (controllable); + if (controllable->touching()) { return; // to prevent feedback fights when e.g. dragging a UI slider } |