handle WOULD_BLOCK

This commit is contained in:
Glenn Maynard
2006-12-22 21:30:14 +00:00
parent 1683b9951a
commit 3deabcbe2f
@@ -234,6 +234,8 @@ void RageSound_Generic_Software::DecodeThread()
}
int iWrote = GetDataForSound( *pSound );
if( iWrote == RageSoundReader::WOULD_BLOCK )
break;
if( iWrote == RageSoundReader::END_OF_FILE )
{
/* This sound is finishing. */