fix playback of newly added/modified MIDI data

This commit is contained in:
Paul Davis 2019-12-12 11:24:56 -07:00
parent de8983ca72
commit 35bea337d2
2 changed files with 5 additions and 0 deletions

View File

@ -642,6 +642,7 @@ DiskReader::overwrite_existing_buffers ()
}
}
overwrite_queued = false;
g_atomic_int_set (&_pending_overwrite, 0);
return ret;

View File

@ -1786,6 +1786,10 @@ Playlist::region_changed (const PropertyChange& what_changed, boost::shared_ptr<
send_contents = true;
}
if (what_changed.contains (Properties::contents)) {
send_contents = true;
}
if (what_changed.contains (Properties::position) && !what_changed.contains (Properties::length)) {
notify_region_moved (region);
} else if (!what_changed.contains (Properties::position) && what_changed.contains (Properties::length)) {