diff options
author | David Robillard <d@drobilla.net> | 2009-10-21 00:00:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-21 00:00:56 +0000 |
commit | af8c16cfe0ccfd6d4611159ba0956e98d0f08e5c (patch) | |
tree | bcee2bf8086c37c88f74f7b3a93b046eae8598f1 /libs/ardour/midi_state_tracker.cc | |
parent | 214a31bb98f283d9d4c9f3849af344d5d8def74c (diff) |
Disable excessive debug printing.
git-svn-id: svn://localhost/ardour2/branches/3.0@5834 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_state_tracker.cc')
-rw-r--r-- | libs/ardour/midi_state_tracker.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/ardour/midi_state_tracker.cc b/libs/ardour/midi_state_tracker.cc index e3c66e4df8..0ddafc3fed 100644 --- a/libs/ardour/midi_state_tracker.cc +++ b/libs/ardour/midi_state_tracker.cc @@ -48,19 +48,18 @@ MidiStateTracker::track_note_onoffs (const Evoral::MIDIEvent<MidiBuffer::TimeTyp } } } + void MidiStateTracker::add (uint8_t note, uint8_t chn) { - cerr << "Added note " << note << " chan " << chn << endl; - _active_notes[note + 128 * chn]++; + ++_active_notes[note + 128 * chn]; } void MidiStateTracker::remove (uint8_t note, uint8_t chn) { if (_active_notes[note + 128 * chn]) { - cerr << "Removed note " << note << " chan " << chn << endl; - _active_notes[note + 128 * chn]--; + --_active_notes[note + 128 * chn]; } } |