#include "ardour/stretch.h"
#include "ardour/types.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
for (uint32_t i = 0; i < channels; ++i) {
- this_read = 0;
-
framepos_t this_time;
this_time = min(bufsize, read_duration - pos);
for (uint32_t i = 0; i < channels; ++i) {
- this_read = 0;
framepos_t this_time;
this_time = min(bufsize, read_duration - pos);
shift);
(*x)->set_master_sources (region->master_sources());
/* multiply the old (possibly previously stretched) region length by the extra
- stretch this time around to get its new length
+ stretch this time around to get its new length. this is a non-music based edit atm.
*/
- (*x)->set_length ((*x)->length() * tsr.time_fraction);
+ (*x)->set_length ((*x)->length() * tsr.time_fraction, 0);
}
/* stretch region gain envelope */