Fix wave in stop.
This commit is contained in:
parent
22f450fb95
commit
636f29d83c
|
@ -2803,8 +2803,6 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WINE_WM_STOPPING:
|
case WINE_WM_STOPPING:
|
||||||
wwi->state = WINE_WS_STOPPED;
|
|
||||||
wwi->dwTotalRecorded = 0;
|
|
||||||
if (wwi->state != WINE_WS_STOPPED)
|
if (wwi->state != WINE_WS_STOPPED)
|
||||||
{
|
{
|
||||||
if (wwi->ossdev->bTriggerSupport)
|
if (wwi->ossdev->bTriggerSupport)
|
||||||
|
@ -2829,6 +2827,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
|
||||||
wwi->lpQueuePtr = lpNext;
|
wwi->lpQueuePtr = lpNext;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
wwi->state = WINE_WS_STOPPED;
|
||||||
SetEvent(ev);
|
SetEvent(ev);
|
||||||
break;
|
break;
|
||||||
case WINE_WM_RESETTING:
|
case WINE_WM_RESETTING:
|
||||||
|
|
Loading…
Reference in New Issue