Double check our assumptions when merging MIDI
This commit is contained in:
parent
923e6a554e
commit
c7745ffd43
|
@ -570,6 +570,8 @@ MidiRegion::merge (std::shared_ptr<MidiRegion const> other_region)
|
|||
* self->position <= other->position ()
|
||||
*/
|
||||
|
||||
assert (position() <= other_region->position ());
|
||||
|
||||
while ((e1 != self->end ()) || (e2 != other->end ())) {
|
||||
/* map time from other region to this region */
|
||||
Temporal::Beats e2t;
|
||||
|
|
Loading…
Reference in New Issue
Block a user