Module: wine Branch: master Commit: d7a9e2d275fbc044eced7f705dcb1d879b4336af URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7a9e2d275fbc044eced7f705d...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Tue Oct 13 20:04:22 2009 +0200
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.
---
dlls/winealsa.drv/waveout.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/winealsa.drv/waveout.c b/dlls/winealsa.drv/waveout.c index 24207ec..25a1618 100644 --- a/dlls/winealsa.drv/waveout.c +++ b/dlls/winealsa.drv/waveout.c @@ -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);