cleaner shutdown

This commit is contained in:
Glenn Maynard
2004-01-03 04:10:57 +00:00
parent 5710c1bc43
commit 6d2aa8632c
@@ -43,7 +43,7 @@ void RageSound_ALSA9_Software::MixerThread()
// RageTimer UnderrunTest;
while(!shutdown)
{
while( GetData() )
while( !shutdown && GetData() )
;
const float delay_ms = 1000 * float(max_writeahead) / samplerate;
SDL_Delay( int(delay_ms) / 4 );