handle WOULD_BLOCK
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user