diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 0ed1b91bb0..38e23fe1c1 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -272,18 +272,11 @@ int RageSound::GetData( char *pBuffer, int iFrames ) iGotFrames = m_pSource->RetriedRead( pBuffer, iFrames, &iSourceFrame, &fRate ); if( iGotFrames == RageSoundReader::ERROR ) - { Fail( m_pSource->GetError() ); - /* Pretend we got EOF. */ - return RageSoundReader::END_OF_FILE; - } - if( iGotFrames < 0 ) return iGotFrames; - ASSERT_M( iGotFrames >= 0, ssprintf("%i", iGotFrames) ); // unhandled error condition - if( m_pSource->GetNumChannels() == 1 ) RageSoundUtil::ConvertMonoToStereoInPlace( (int16_t *) pBuffer, iGotFrames );