winmm: Do not blindly reset device when already stopped.

This commit is contained in:
Maarten Lankhorst 2012-10-16 14:06:25 +02:00 committed by Alexandre Julliard
parent 3b6615686b
commit 6f84708902
1 changed files with 2 additions and 0 deletions

View File

@ -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);