Skip to content

Commit

Permalink
Fixed issue with prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltyson committed Jun 15, 2016
1 parent 1d8f5de commit 88b034a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void AEAudioFileRecorderModuleProcess(__unsafe_unretained AEAudioFileReco
for ( int i=0; i<buffer->mNumberBuffers; i++ ) {
buffer->mBuffers[i] = abl->mBuffers[MIN(abl->mNumberBuffers-1, i)];
}
if ( buffer->mBuffers == 1 && abl->mNumberBuffers > 1 ) {
if ( buffer->mNumberBuffers == 1 && abl->mNumberBuffers > 1 ) {
// Mix down to mono
for ( int i=1; i<abl->mNumberBuffers; i++ ) {
AEDSPMixMono(abl->mBuffers[i].mData, buffer->mBuffers[0].mData, 1.0, 1.0, context->frames, buffer->mBuffers[0].mData);
Expand Down

0 comments on commit 88b034a

Please sign in to comment.