Commit d7a9e2d2 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winealsa.drv: Remove call to snd_pcm_drain.

snd_pcm_drain can cause a deadlock if in the wrong state, and snd_pcm_drop below does the same thing.
parent daf4da06
......@@ -322,9 +322,6 @@ static void wodPlayer_Reset(WINE_WAVEDEV* wwo, BOOL reset)
int err;
TRACE("(%p)\n", wwo);
/* flush all possible output */
snd_pcm_drain(wwo->pcm);
wodUpdatePlayedTotal(wwo, NULL);
/* updates current notify list */
wodPlayer_NotifyCompletions(wwo, FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment