This commit is contained in:
Glenn Maynard
2007-01-20 01:12:25 +00:00
parent fd4b5f93bb
commit 0e0391007c
+1 -2
View File
@@ -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 )
{