this only returns bool; fix comment

This commit is contained in:
Glenn Maynard
2005-11-23 18:52:49 +00:00
parent 599636992e
commit 3a77a52dba
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -299,10 +299,10 @@ void RageSound::RateChange( char *pBuffer, int &iCount, int iInputSpeed, int iOu
iCount = (iCount * iOutputSpeed) / iInputSpeed;
}
/* Fill the buffer by about "bytes" worth of data. (We might go a little
/* Fill the buffer by about iFrames worth of data. (We might go a little
* over, and we won't overflow our buffer.) Return the number of bytes
* actually read; 0 = EOF. Convert mono input to stereo. */
int RageSound::FillBuf( int iFrames )
bool RageSound::FillBuf( int iFrames )
{
ASSERT( m_pSource );
@@ -344,7 +344,7 @@ int RageSound::FillBuf( int iFrames )
Fail( m_pSource->GetError() );
/* Pretend we got EOF. */
return 0;
return false;
}
if( m_pSource->GetNumChannels() == 1 )
+1 -1
View File
@@ -145,7 +145,7 @@ private:
SoundReader *m_pSource;
CircBuf<char> m_DataBuffer;
int FillBuf( int iBytes );
bool FillBuf( int iFrames );
/* We keep track of sound blocks we've sent out recently through GetDataToPlay. */
pos_map_queue m_PositionMapping;