Corrected gaplessness with my new converter setup

This commit is contained in:
Chris Moeller 2013-10-18 05:33:20 -07:00
parent b461e774fd
commit b9ce8462c4

View file

@ -153,7 +153,7 @@ static OSStatus ACFloatProc(AudioConverterRef inAudioConverter,
OSStatus err = noErr; OSStatus err = noErr;
int amountToWrite; int amountToWrite;
if ([converter shouldContinue] == NO || [converter endOfStream] == YES) if ([converter shouldContinue] == NO)
{ {
ioData->mBuffers[0].mDataByteSize = 0; ioData->mBuffers[0].mDataByteSize = 0;
*ioNumberDataPackets = 0; *ioNumberDataPackets = 0;