fix playback of newly added/modified MIDI data
This commit is contained in:
parent
de8983ca72
commit
35bea337d2
|
@ -642,6 +642,7 @@ DiskReader::overwrite_existing_buffers ()
|
|||
}
|
||||
}
|
||||
|
||||
overwrite_queued = false;
|
||||
g_atomic_int_set (&_pending_overwrite, 0);
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue