Bugfix of hanging CPPsleep fixed.

This commit is contained in:
Anne de Jong 2021-05-16 22:12:01 +02:00
parent 2a1e9e2163
commit 9bd27c1f51

View File

@ -264,8 +264,8 @@ cdef class Daq:
self.sd.thread = new CPPThread[void*, void (*)(void*)](audioCallbackPythonThreadFunction, self.sd.thread = new CPPThread[void*, void (*)(void*)](audioCallbackPythonThreadFunction,
<void*> self.sd) <void*> self.sd)
# Allow stream stome time to start # Allow stream stome time to start
CPPsleep_ms(500) CPPsleep_ms(500)
self.daq_device.start( self.daq_device.start(
self.sd.inQueue, self.sd.inQueue,