flush the sound to the write position, not the play position

This commit is contained in:
Glenn Maynard
2004-11-04 00:20:48 +00:00
parent 26faea2615
commit e3b9a4bacc
@@ -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;