Fix a missing do on a do-while block

This should be looping on the condition, not sure
how the compiler missed this one.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2023-10-02 19:14:36 -07:00
parent e9e4fd3aa4
commit 73738aa185

View file

@ -180,7 +180,7 @@ static OSStatus eqRenderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioA
size_t totalDone = 0; size_t totalDone = 0;
size_t inDone = 0; size_t inDone = 0;
size_t visFrameCount = frameCount; size_t visFrameCount = frameCount;
{ do {
int visTodo = (int)MIN(visFrameCount, visResamplerRemain + visFrameCount - 8192); int visTodo = (int)MIN(visFrameCount, visResamplerRemain + visFrameCount - 8192);
if(visTodo) { if(visTodo) {
cblas_scopy(visTodo, &visAudio[0], 1, &visResamplerInput[visResamplerRemain], 1); cblas_scopy(visTodo, &visAudio[0], 1, &visResamplerInput[visResamplerRemain], 1);