Fix never-ending timestretch
This is relevant when time-stretch is canceled. In that case stretcher.process() is never called with final=true, and hence stretcher.available() will always return a value >=0.
This commit is contained in:
parent
75134e8ccf
commit
5f1e2d4961
@ -302,7 +302,7 @@ RBEffect::run (boost::shared_ptr<Region> r, Progress* progress)
|
||||
}
|
||||
}
|
||||
|
||||
while ((avail = stretcher.available()) >= 0) {
|
||||
while ((avail = stretcher.available()) > 0) {
|
||||
|
||||
samplecnt_t this_read = min (bufsize, avail);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user