Commit 6093bb2e authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winealsa: Drop unplayed frames instead of waiting for them.

parent 7d3162e6
......@@ -218,12 +218,12 @@ static DWORD CALLBACK DBSB_MMAPLoop(LPVOID data)
case WINE_WM_STOPPING:
state = WINE_WS_STOPPED;
snd_pcm_drain(wwo->pcm);
snd_pcm_drop(wwo->pcm);
break;
case WINE_WM_CLOSING:
if (wwo->pcm != NULL)
snd_pcm_drain(wwo->pcm);
snd_pcm_drop(wwo->pcm);
pdbi->mmap_thread = NULL;
SetEvent(hEvent);
goto out;
......
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