From 1eda6c0e7dd3ddb0500d95ef20344640ee358162 Mon Sep 17 00:00:00 2001 From: vspader Date: Wed, 16 May 2007 01:31:04 +0000 Subject: [PATCH] Removed debugging messages. --- Audio/Chain/Converter.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Audio/Chain/Converter.m b/Audio/Chain/Converter.m index 7f324f22c..5e3f9f573 100644 --- a/Audio/Chain/Converter.m +++ b/Audio/Chain/Converter.m @@ -37,7 +37,6 @@ static OSStatus ACInputProc(AudioConverterRef inAudioConverter, UInt32* ioNumber if (converter->inputBufferSize > 0) { int amountConverted = *ioNumberDataPackets * converter->inputFormat.mBytesPerPacket; - NSLog(@"Asking: %i", amountConverted); if (amountConverted > converter->inputBufferSize) { amountConverted = converter->inputBufferSize; } @@ -51,7 +50,6 @@ static OSStatus ACInputProc(AudioConverterRef inAudioConverter, UInt32* ioNumber converter->inputBufferSize -= amountConverted; converter->inputBuffer = ((char *)converter->inputBuffer) + amountConverted; - NSLog(@"Converted: %i", amountConverted); } else { ioData->mBuffers[0].mData = NULL; @@ -87,17 +85,13 @@ static OSStatus ACInputProc(AudioConverterRef inAudioConverter, UInt32* ioNumber ioData.mNumberBuffers = 1; inputBuffer = input; inputBufferSize = inputSize; - NSLog(@"Converting: %i", inputSize); err = AudioConverterFillComplexBuffer(converter, ACInputProc, self, &ioNumberFrames, &ioData, NULL); if (err != noErr || needsReset) //It returns insz at EOS at times...so run it again to make sure all data is converted { - NSLog(@"Error:%i %i", err, noErr); AudioConverterReset(converter); } - NSLog(@"Pass: %i", inputSize - inputBufferSize); - outputBufferSize = ioData.mBuffers[0].mDataByteSize; return inputSize - inputBufferSize;