diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 1b96b62275..88903bd08a 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -289,8 +289,7 @@ int RageSound::GetDataToPlay( int16_t *pBuffer, int iFrames, int64_t &iStreamFra int iSourceFrame; /* Read data from our source. */ - char *pDest = (char *) pBuffer; - int iGotFrames = m_pSource->RetriedRead( pDest + (iFramesStored * framesize), iFrames, &iSourceFrame, &fRate ); + int iGotFrames = m_pSource->RetriedRead( pBuffer + (iFramesStored * channels), iFrames, &iSourceFrame, &fRate ); if( iGotFrames == RageSoundReader::ERROR ) {