Fix inexact resampler output at unity ratio
This commit is contained in:
@@ -365,7 +365,7 @@ R3LiveShifter::shift(const float *const *input, float *const *output)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int requiredInOutbuf = 1 + int(ceil(incount / outRatio));
|
int requiredInOutbuf = int(ceil(incount / outRatio));
|
||||||
generate(requiredInOutbuf);
|
generate(requiredInOutbuf);
|
||||||
|
|
||||||
int got = readOut(output, incount);
|
int got = readOut(output, incount);
|
||||||
|
|||||||
Reference in New Issue
Block a user