Commit 2a58273f authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winmm: Close ACM stream when closing wave device.

parent 80fd691e
......@@ -1104,6 +1104,11 @@ static HRESULT WINMM_CloseDevice(WINMM_Device *device)
device->stopped = TRUE;
}
if(device->acm_handle){
acmStreamClose(device->acm_handle, 0);
device->acm_handle = NULL;
}
IMMDevice_Release(device->device);
device->device = NULL;
......
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