for the sake of accuracy, increased the frequency at which samples are checked when buffering is enabled
This commit is contained in:
parent
43493aa8d1
commit
3b08f98fe0
@ -882,7 +882,7 @@ DWORD DeviceSource::SampleThread(DeviceSource *source)
|
||||
bool bFirstFrame = true;
|
||||
bool bFirstDelay = true;
|
||||
|
||||
while (WaitForSingleObject(source->hStopSampleEvent, 4) == WAIT_TIMEOUT) {
|
||||
while (WaitForSingleObject(source->hStopSampleEvent, 2) == WAIT_TIMEOUT) {
|
||||
LONGLONG t = GetQPCTime100NS();
|
||||
LONGLONG delta = t-lastTime;
|
||||
lastTime = t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user