diff --git a/src/common/pa_process.c b/src/common/pa_process.c index 5b1e519..1009602 100644 --- a/src/common/pa_process.c +++ b/src/common/pa_process.c @@ -238,7 +238,7 @@ PaError PaUtil_InitializeBufferProcessor( PaUtilBufferProcessor* bp, bp->inputConverter = PaUtil_SelectConverter( hostInputSampleFormat, userInputSampleFormat, tempInputStreamFlags ); - bp->inputZeroer = PaUtil_SelectZeroer( hostInputSampleFormat ); + bp->inputZeroer = PaUtil_SelectZeroer( userInputSampleFormat ); bp->userInputIsInterleaved = (userInputSampleFormat & paNonInterleaved)?0:1;