winmm: Do not blindly reset device when already stopped.
This commit is contained in:
parent
3b6615686b
commit
6f84708902
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue