Optimize RB stretch/pitch, set max-process size hint

This commit is contained in:
Robin Gareus 2022-10-13 05:08:52 +02:00
parent 6684a80d1d
commit e665d456c3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -176,6 +176,8 @@ RBEffect::run (boost::shared_ptr<Region> r, Progress* progress)
stretcher.setDebugLevel (1);
stretcher.setExpectedInputDuration (read_duration);
stretcher.setMaxProcessSize (bufsize);
assert (stretcher.getLatency () == 0);
/* the name doesn't need to be super-precise, but allow for 2 fractional
* digits just to disambiguate close but not identical FX