summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-12-10 21:27:10 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-12-10 21:27:10 -0700
commit3dafaaf2df6d9057535b16796cd986b89fe3a555 (patch)
tree335410a63bdc41b14e6ef4406d9de295da7ca4d6 /libs/ardour
parente46c45f6f03b28f2dd64434a71d0519e0d6e6278 (diff)
should probably resolve MIDI notes when loop bounds change
We don't really need to do this if the bounds have moved "outwards", but at present we don't know if that is the case, so be safe and resolve in case the loop bounds moved "inwards" and we would otherwise get stuck notes caused by the now-missing noteOffs
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/disk_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc
index 375cc1c937..7ef38ce34a 100644
--- a/libs/ardour/disk_reader.cc
+++ b/libs/ardour/disk_reader.cc
@@ -526,7 +526,7 @@ DiskReader::set_pending_overwrite (OverwriteReason why)
overwrite_offset = c->front()->rbuf->read_ptr();
}
- if (why & (PlaylistModified|PlaylistChanged)) {
+ if (why & (LoopChanged|PlaylistModified|PlaylistChanged)) {
run_must_resolve = true;
}