diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp index b5eac1ab53..b249ad6773 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp @@ -202,7 +202,7 @@ void RageSoundDriver::DecodeThread() int iWrote = GetDataForSound( *pSound ); if( iWrote == RageSoundReader::WOULD_BLOCK ) break; - if( iWrote == RageSoundReader::END_OF_FILE ) + if( iWrote < 0 ) { /* This sound is finishing. */ pSound->m_State = Sound::STOPPING;