From 1e1ae8c53d60d6e3731b1f1df9227ada293b24ac Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 19 Apr 2004 21:09:15 +0000 Subject: [PATCH] fix data being read in HALTING --- stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp index b97239573a..9cfccb875c 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp @@ -57,7 +57,7 @@ void RageSound_Generic_Software::Mix( int16_t *buf, int frames, int64_t frameno, continue; } - if( s.state == sound::STOPPED ) + if( s.state != sound::STOPPING && s.state != sound::PLAYING ) continue; /* STOPPING or PLAYING. Read sound data. */