mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Double check our assumptions when merging MIDI
This commit is contained in:
parent
923e6a554e
commit
c7745ffd43
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue