From e2eed4d42859bf6b3784d1c2621286082148b946 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Fri, 5 Jan 2024 15:57:27 +0100 Subject: [PATCH] adjusted modem blocksize for avoiding audio underruns --- modem/modem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modem/modem.py b/modem/modem.py index e85396d1..387e3486 100644 --- a/modem/modem.py +++ b/modem/modem.py @@ -421,7 +421,7 @@ class RF: # we need to wait manually for tci processing self.tci_module.wait_until_transmitted(audio_48k) else: - sd.play(audio_48k, blocking=True) + sd.play(audio_48k, blocksize=1024, blocking=True) return def init_rig_control(self):