winealsa.drv: Fix underrun recovery.
This commit is contained in:
parent
7d5c16b64e
commit
3a9ea794e1
|
@ -110,6 +110,7 @@ static BOOL wodUpdatePlayedTotal(WINE_WAVEDEV* wwo, snd_pcm_status_t* ps)
|
|||
if (state != SND_PCM_STATE_RUNNING && state != SND_PCM_STATE_PREPARED)
|
||||
{
|
||||
WARN("Unexpected state (%d) while updating Total Played, resetting\n", state);
|
||||
snd_pcm_recover(wwo->pcm, -EPIPE, 0);
|
||||
delay=0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue