temporary fix for crash (proper fix will take more time)

This commit is contained in:
Glenn Maynard
2006-06-11 19:07:54 +00:00
parent 80218aa4dc
commit 3a70b367c0
@@ -180,7 +180,9 @@ void RageSound_Generic_Software::DecodeThread()
for( unsigned i = 0; i < ARRAYSIZE(sounds); ++i )
{
/* The volume can change while the sound is playing; update it. */
if( sounds[i].state == sound::PLAYING || sounds[i].state == sound::STOPPING )
/* XXX: We can't access snd when in STOPPING; it doesn't exist anymore. */
// if( sounds[i].state == sound::PLAYING || sounds[i].state == sound::STOPPING )
if( sounds[i].state == sound::PLAYING )
sounds[i].volume = sounds[i].snd->GetAbsoluteVolume();
}