Exact beat - provide audio->music mapping for region split.
[ardour.git] / libs / ardour / midi_stretch.cc
index 71ffcc21e111319f34f747a5c09b9eeeecd5579d..7258f49a1ccdab471f65f15f1c7e79810fb7fa23 100644 (file)
@@ -114,8 +114,8 @@ MidiStretch::run (boost::shared_ptr<Region> r, Progress*)
        new_src->copy_interpolation_from (src);
 
        const int ret = finish (region, nsrcs, new_name);
-
-       results[0]->set_length((framecnt_t) floor (r->length() * _request.time_fraction));
+       /* non-musical */
+       results[0]->set_length((framecnt_t) floor (r->length() * _request.time_fraction), 0);
 
        return ret;
 }