Fix a very serious error resampling short files
Files that are so short that they need both pre- and post-extrapolation at the same time. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
0b33fe6dea
commit
7f8c19799d
|
@ -785,7 +785,9 @@ tryagain:
|
||||||
latencyEaten -= outputDone;
|
latencyEaten -= outputDone;
|
||||||
outputDone = 0;
|
outputDone = 0;
|
||||||
}
|
}
|
||||||
} else if(latencyEatenPost) {
|
}
|
||||||
|
|
||||||
|
if(latencyEatenPost) {
|
||||||
if(outputDone > latencyEatenPost) {
|
if(outputDone > latencyEatenPost) {
|
||||||
outputDone -= latencyEatenPost;
|
outputDone -= latencyEatenPost;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue