From e3b9a4bacc6bc3fb36034b3e98d6c101da553ded Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 4 Nov 2004 00:20:48 +0000 Subject: [PATCH] flush the sound to the write position, not the play position --- stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp index ad40ad117a..58c3058568 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp @@ -192,7 +192,7 @@ void RageSound_ALSA9::StartMixing(RageSoundBase *snd) if( bEOF ) { stream_pool[i]->state = stream_pool[i]->FLUSHING; - stream_pool[i]->flush_pos = stream_pool[i]->pcm->GetPosition(); + stream_pool[i]->flush_pos = stream_pool[i]->pcm->GetPlayPos(); } else stream_pool[i]->state = stream_pool[i]->PLAYING;