mirror of
https://github.com/quantum5/winscap.git
synced 2025-04-24 05:31:58 -04:00
Disable output buffering
This commit is contained in:
parent
46b021bfe9
commit
e64db21dc9
|
@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
|
|||
if (flags & AUDCLNT_BUFFERFLAGS_SILENT)
|
||||
pData = pSilence;
|
||||
|
||||
fwrite(pData, wfx.nBlockAlign, numFramesAvailable, stdout);
|
||||
_write(_fileno(stdout), pData, wfx.nBlockAlign * numFramesAvailable);
|
||||
ensure(pCapture->ReleaseBuffer(numFramesAvailable));
|
||||
ensure(pCapture->GetNextPacketSize(&packetLength));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue