flush the sound to the write position, not the play position
This commit is contained in:
@@ -192,7 +192,7 @@ void RageSound_ALSA9::StartMixing(RageSoundBase *snd)
|
|||||||
if( bEOF )
|
if( bEOF )
|
||||||
{
|
{
|
||||||
stream_pool[i]->state = stream_pool[i]->FLUSHING;
|
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
|
else
|
||||||
stream_pool[i]->state = stream_pool[i]->PLAYING;
|
stream_pool[i]->state = stream_pool[i]->PLAYING;
|
||||||
|
|||||||
Reference in New Issue
Block a user