From 70de4471249ddf480a1bb3deab8dee81fa5f006b Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 30 Jun 2010 19:16:41 -0500 Subject: [PATCH] bb3f9b8: fix resampler noise [Glenn Maynard] --- src/RageSoundReader_Resample_Good.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RageSoundReader_Resample_Good.cpp b/src/RageSoundReader_Resample_Good.cpp index 78a49b0483..fc0e7ae428 100644 --- a/src/RageSoundReader_Resample_Good.cpp +++ b/src/RageSoundReader_Resample_Good.cpp @@ -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 )