Fix VC8 macro redef warning. (more to come)

This commit is contained in:
Jason Felds
2006-07-18 03:56:37 +00:00
parent 4f8049377b
commit 366c3440d4
29 changed files with 84 additions and 83 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ int RageSoundReader_Chain::ReadBlock( int16_t *pBuffer, int iFrames )
{
ActiveSound &s = m_apActiveSounds[i];
SoundReader *pSound = s.pSound;
int iSamples = min( iFramesToRead * pSound->GetNumChannels(), ARRAYSIZE(Buffer) );
int iSamples = min( iFramesToRead * pSound->GetNumChannels(), ARRAY_SIZE(Buffer) );
int iBytesRead = pSound->Read( (char *) Buffer, iSamples*sizeof(int16_t) );
if( iBytesRead == -1 || iBytesRead == 0 )
{