wdmks: Reset packet->Header.OptionsFlags = 0 for each packet. Fixes issue with Focusrite Scarlett 2i4 (1st Gen). Fixes #310
This commit is contained in:
parent
fb9b6463eb
commit
6a676d3ecb
1 changed files with 1 additions and 0 deletions
|
|
@ -6548,6 +6548,7 @@ static PaError PaPinCaptureSubmitHandler_WaveCyclic(PaProcessThreadInfo* pInfo,
|
|||
assert(packet != 0);
|
||||
PA_HP_TRACE((pInfo->stream->hLog, "Capture submit: %u", eventIndex));
|
||||
packet->Header.DataUsed = 0; /* Reset for reuse */
|
||||
packet->Header.OptionsFlags = 0; /* Reset for reuse. Required for e.g. Focusrite Scarlett 2i4 (1st Gen) see #310 */
|
||||
ResetEvent(packet->Signal.hEvent);
|
||||
result = PinRead(pInfo->stream->capture.pPin->handle, packet);
|
||||
++pInfo->pending;
|
||||
|
|
|
|||
Loading…
Reference in a new issue