diff --git a/Audio/Chain/ConverterNode.m b/Audio/Chain/ConverterNode.m index f3cb1f6de..2758a5d3f 100644 --- a/Audio/Chain/ConverterNode.m +++ b/Audio/Chain/ConverterNode.m @@ -259,6 +259,11 @@ static OSStatus ACFloatProc(AudioConverterRef inAudioConverter, int amountRead = 0; tryagain2: + if ([self shouldContinue] == NO || [self endOfStream] == YES) + { + return amountRead; + } + amountReadFromFC = 0; if (floatOffset == floatSize) {