bb3f9b8: fix resampler noise [Glenn Maynard]

This commit is contained in:
AJ Kelly
2010-06-30 19:16:41 -05:00
parent 01afd64656
commit 70de447124
+1 -1
View File
@@ -674,7 +674,7 @@ int RageSoundReader_Resample_Good::Read( float *pBuf, int iFrames )
for( int iChannel = 0; iChannel < iChannels; ++iChannel )
{
int iGotFrames = m_apResamplers[iChannel]->Run( pTmpBuf + iChannel, iFramesIn + iChannel, pBuf + iChannel, iFrames, iChannels );
int iGotFrames = m_apResamplers[iChannel]->Run( pTmpBuf + iChannel, iFramesIn, pBuf + iChannel, iFrames, iChannels );
ASSERT( iGotFrames <= iFrames );
if( iChannel == 0 )