triggerbox: we're doing offline RB processing, not realtime
This commit is contained in:
parent
44176aa2e4
commit
5ac3d2c581
@ -522,7 +522,7 @@ AudioTrigger::set_length (timecnt_t const & newlen)
|
|||||||
|
|
||||||
const uint32_t nchans = ar->n_channels();
|
const uint32_t nchans = ar->n_channels();
|
||||||
|
|
||||||
RubberBandStretcher::Options options = RubberBandStretcher::Option (RubberBandStretcher::OptionProcessRealTime|RubberBandStretcher::OptionStretchPrecise);
|
RubberBandStretcher::Options options = RubberBandStretcher::Option (RubberBandStretcher::OptionProcessOffline|RubberBandStretcher::OptionStretchPrecise);
|
||||||
RubberBandStretcher stretcher (_box.session().sample_rate(), nchans, options, 1.0, 1.0);
|
RubberBandStretcher stretcher (_box.session().sample_rate(), nchans, options, 1.0, 1.0);
|
||||||
|
|
||||||
/* Compute stretch ratio */
|
/* Compute stretch ratio */
|
||||||
|
Loading…
Reference in New Issue
Block a user