Commit 335ab8c1 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winecoreaudio: Changed widReset to stop the audio unit.

parent cff4da8d
......@@ -1931,6 +1931,15 @@ static DWORD widReset(WORD wDevID)
OSSpinLockUnlock(&wwi->lock);
if (ret == MMSYSERR_NOERROR)
{
OSStatus err = AudioOutputUnitStop(wwi->audioUnit);
if (err != noErr)
WARN("Failed to stop AU: %08lx\n", err);
TRACE("Recording stopped.\n");
}
while (lpWaveHdr)
{
WAVEHDR* lpNext = lpWaveHdr->lpNext;
......
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