Skip to content
Snippets Groups Projects
Commit 6093bb2e authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard
Browse files

winealsa: Drop unplayed frames instead of waiting for them.

parent 7d3162e6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment