adjusted modem blocksize for avoiding audio underruns

This commit is contained in:
DJ2LS 2024-01-05 15:58:42 +01:00
parent 5a42033a89
commit a1b2258bd2

View file

@ -421,7 +421,7 @@ class RF:
# we need to wait manually for tci processing # we need to wait manually for tci processing
self.tci_module.wait_until_transmitted(audio_48k) self.tci_module.wait_until_transmitted(audio_48k)
else: else:
sd.play(audio_48k, blocksize=1024, blocking=True) sd.play(audio_48k, blocksize=4096, blocking=True)
return return
def init_rig_control(self): def init_rig_control(self):