Update radio.py

This commit is contained in:
SpudGunMan
2025-10-14 21:17:36 -07:00
parent 3c8d2e646e
commit 374a44f4a9
+1 -5
View File
@@ -126,10 +126,6 @@ def get_sig_strength():
strength = get_hamlib('l STRENGTH')
return strength
# def vox_callback(indata, frames, time, status):
# if status:
# logger.warning(f"RadioMon: VOX input status: {status}")
# q.put(bytes(indata))
def checkVoxTrapWords(text):
try:
if not voxOnTrapList:
@@ -225,7 +221,7 @@ async def voxMonitor():
with sd.RawInputStream(
device=voxInputDevice,
samplerate=samplerate,
blocksize=8000,
blocksize=4000,
dtype='int16',
channels=1,
callback=callback