From 982dd233f5cb13efc38b07a7dcdbaa603638b47e Mon Sep 17 00:00:00 2001 From: rossb Date: Thu, 30 Jun 2011 12:48:08 +0000 Subject: [PATCH] fixed regression in r1612 that broke coreaudio non-interleaved callback i/o --- src/hostapi/coreaudio/pa_mac_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hostapi/coreaudio/pa_mac_core.c b/src/hostapi/coreaudio/pa_mac_core.c index 1935dbd..88bb478 100644 --- a/src/hostapi/coreaudio/pa_mac_core.c +++ b/src/hostapi/coreaudio/pa_mac_core.c @@ -1348,7 +1348,7 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi, inputSampleFormat = inputParameters->sampleFormat; /* @todo Blocking read/write on Mac is not yet supported. */ - if( inputSampleFormat & paNonInterleaved ) + if( !streamCallback && inputSampleFormat & paNonInterleaved ) { return paSampleFormatNotSupported; } @@ -1378,7 +1378,7 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi, outputSampleFormat = outputParameters->sampleFormat; /* @todo Blocking read/write on Mac is not yet supported. */ - if( outputSampleFormat & paNonInterleaved ) + if( !streamCallback && outputSampleFormat & paNonInterleaved ) { return paSampleFormatNotSupported; } -- 2.43.0