don't restart modem on input overflow for now for checking if callback mode solved problems

This commit is contained in:
DJ2LS 2024-03-13 22:06:59 +01:00
parent 791e9ab9c6
commit 787cb2d862

View file

@ -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)