diff options
Diffstat (limited to 'Alc/mmdevapi.c')
-rw-r--r-- | Alc/mmdevapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mmdevapi.c b/Alc/mmdevapi.c index d4840de6..b0c0b289 100644 --- a/Alc/mmdevapi.c +++ b/Alc/mmdevapi.c @@ -530,6 +530,7 @@ static ALCboolean MMDevApiResetPlayback(ALCdevice *device) ERR("Audio client returned buffer_len < period*2; expect break up\n"); } + ResetEvent(data->hNotifyEvent); hr = IAudioClient_SetEventHandle(data->client, data->hNotifyEvent); if(SUCCEEDED(hr)) hr = IAudioClient_Start(data->client); @@ -564,7 +565,6 @@ static void MMDevApiStopPlayback(ALCdevice *device) data->killNow = 0; IAudioClient_Stop(data->client); - ResetEvent(data->hNotifyEvent); } |