summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-22 20:14:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-22 20:14:47 +0000
commited2beaffeef72ddce8ac628cced672851ec5668d (patch)
treebdb318ac3bbfd06b8804e686db19b99ef5297d89 /libs/ardour/midi_track.cc
parent2449a787c59b383912115421fdcd7ad4cca2a581 (diff)
main fix: when transport stops, clear per-region per-playlist note trackers even if there is no capture data to process; side effects: remove unused MidiBuffer::merge() and add DEBUG::MidiTrackers as well as more and better MIDI debug tracing facilities
git-svn-id: svn://localhost/ardour2/branches/3.0@11057 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_track.cc')
-rw-r--r--libs/ardour/midi_track.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc
index e835008e67..4b990b8175 100644
--- a/libs/ardour/midi_track.cc
+++ b/libs/ardour/midi_track.cc
@@ -404,6 +404,7 @@ void
MidiTrack::realtime_handle_transport_stopped ()
{
Glib::RWLock::ReaderLock lm (_processor_lock, Glib::TRY_LOCK);
+
if (!lm.locked ()) {
return;
}