Corrected gaplessness with my new converter setup
This commit is contained in:
parent
b461e774fd
commit
b9ce8462c4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue