Commit 6f847089 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winmm: Do not blindly reset device when already stopped.

parent 3b661568
......@@ -1398,6 +1398,8 @@ static void WOD_PushData(WINMM_Device *device)
goto exit;
if(!device->first){
if (device->stopped)
goto exit;
device->stopped = TRUE;
device->last_clock_pos = 0;
IAudioClient_Stop(device->client);
......
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