projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use URIs to identify plugin-presets
[ardour.git]
/
libs
/
ardour
/
midi_stretch.cc
diff --git
a/libs/ardour/midi_stretch.cc
b/libs/ardour/midi_stretch.cc
index 71ffcc21e111319f34f747a5c09b9eeeecd5579d..d7facbb0f185dd2becfff035ad41be304465ef47 100644
(file)
--- a/
libs/ardour/midi_stretch.cc
+++ b/
libs/ardour/midi_stretch.cc
@@
-26,7
+26,7
@@
#include "ardour/midi_stretch.h"
#include "ardour/types.h"
#include "ardour/midi_stretch.h"
#include "ardour/types.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace std;
using namespace ARDOUR;
using namespace std;
using namespace ARDOUR;
@@
-108,14
+108,14
@@
MidiStretch::run (boost::shared_ptr<Region> r, Progress*)
new_model->append(ev, Evoral::next_event_id());
}
new_model->append(ev, Evoral::next_event_id());
}
- new_model->end_write (Evoral::Sequence<
Ev
oral::Beats>::DeleteStuckNotes);
+ new_model->end_write (Evoral::Sequence<
Temp
oral::Beats>::DeleteStuckNotes);
new_model->set_edited (true);
new_src->copy_interpolation_from (src);
const int ret = finish (region, nsrcs, new_name);
new_model->set_edited (true);
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((
samplecnt_t) floor (r->length() * _request.time_fraction), 0
);
return ret;
}
return ret;
}