https://gitlab.synchro.net/main/sbbs/-/commit/830596d741d6f092be3e7aab
Modified Files:
src/xpdev/xpbeep.c
Log Message:
xpbeep: cap pathological ALSA buffer latency
Open ALSA once with the existing minimal parameter negotiation so
user and .asoundrc defaults remain authoritative when they produce
a reasonable buffer.
If the negotiated ALSA buffer exceeds 300 ms, reopen and retry with
a CoreAudio-like 3 x 1024-frame target. If the capped retry fails,
fall back to the original uncapped configuration rather than dropping
ALSA entirely.
This should kick in for whatever weird-assed distro DigitalMan uses
where the mixer latency with the default ALSA device is allegedly
around 30s.
Co-Authored-By: OpenAI Codex <
codex@openai.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net