optimize for latency

This commit is contained in:
pstruebi
2025-08-12 12:17:37 +02:00
parent dfe1f8073b
commit 42a47f2bb2
7 changed files with 333 additions and 8 deletions

View File

@@ -309,7 +309,7 @@ else:
)
),
input_format=(f"int16le,{q['rate']},1" if audio_mode == "USB/Network" else "auto"),
iso_que_len=1, # TODO: this should be way less to decrease delay
iso_que_len=1,
sampling_frequency=q['rate'],
octets_per_frame=q['octets'],
),