mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
winecoreaudio: Changed widReset to stop the audio unit.
This commit is contained in:
parent
cff4da8db8
commit
335ab8c1a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user