fix PresentationInfo::flag_match() to match type bits
[ardour.git] / libs / ardour / midi_state_tracker.cc
index 0403461c73914102288b7bb2afc5c7207c215e2a..3e81a064c843b09fb95f5840bc8304cb4382e337 100644 (file)
@@ -55,7 +55,7 @@ MidiStateTracker::add (uint8_t note, uint8_t chn)
        ++_active_notes[note + 128 * chn];
 
        if (_active_notes[note+128 * chn] > 1) {
-               cerr << this << " note " << (int) note << '/' << (int) chn << " was already on, now at " << (int) _active_notes[note+128*chn] << endl;
+               //cerr << this << " note " << (int) note << '/' << (int) chn << " was already on, now at " << (int) _active_notes[note+128*chn] << endl;
        }
 
        DEBUG_TRACE (PBD::DEBUG::MidiTrackers, string_compose ("%1 ON %2/%3 voices %5 total on %4\n",
@@ -206,7 +206,7 @@ MidiStateTracker::dump (ostream& o)
                for (int x = 0; x < 128; ++x) {
                        if (_active_notes[c * 128 + x]) {
                                o << "Channel " << c+1 << " Note " << x << " is on ("
-                                 << (int) _active_notes[c*128+x] <<  "times)\n";
+                                 << (int) _active_notes[c*128+x] <<  " times)\n";
                        }
                }
        }