mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
don't restart modem on input overflow for now for checking if callback mode solved problems
This commit is contained in:
parent
791e9ab9c6
commit
787cb2d862
|
@ -294,8 +294,8 @@ class RF:
|
|||
if status:
|
||||
self.log.warning("[AUDIO STATUS]", status=status, time=time, frames=frames)
|
||||
# FIXME on windows input overflows crashing the rx audio stream. Lets restart the server then
|
||||
if status.input_overflow:
|
||||
self.service_queue.put("restart")
|
||||
#if status.input_overflow:
|
||||
# self.service_queue.put("restart")
|
||||
return
|
||||
try:
|
||||
audio_48k = np.frombuffer(indata, dtype=np.int16)
|
||||
|
|
Loading…
Reference in a new issue