Bugfix of hanging CPPsleep fixed.
This commit is contained in:
parent
2a1e9e2163
commit
9bd27c1f51
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user