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>
This commit is contained in:
parent
0b33fe6dea
commit
7f8c19799d
1 changed files with 3 additions and 1 deletions
|
@ -785,7 +785,9 @@ tryagain:
|
|||
latencyEaten -= outputDone;
|
||||
outputDone = 0;
|
||||
}
|
||||
} else if(latencyEatenPost) {
|
||||
}
|
||||
|
||||
if(latencyEatenPost) {
|
||||
if(outputDone > latencyEatenPost) {
|
||||
outputDone -= latencyEatenPost;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue