From 86390249906a8b9e9299c29cbe93d67d015fbb6a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Oct 2007 17:03:58 +0000 Subject: [PATCH] multichannel resampling fix --- stepmania/src/RageSoundReader_Resample_Good.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSoundReader_Resample_Good.cpp b/stepmania/src/RageSoundReader_Resample_Good.cpp index 8a7f219c80..7542eb689e 100644 --- a/stepmania/src/RageSoundReader_Resample_Good.cpp +++ b/stepmania/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, iFramesIn + iChannel, pBuf + iChannel, iFrames, iChannels ); + int iGotFrames = m_apResamplers[iChannel]->Run( pTmpBuf + iChannel, iFramesIn + iChannel, pBuf + iChannel, iFrames, iChannels ); ASSERT( iGotFrames <= iFrames ); if( iChannel == 0 )