feat(decoder): alarm banner and warning sound when the decoder drops or goes silent during a heat (1.89.25)

This commit is contained in:
larssand committed 2026-11-14 15:20:31 +01:00
1 parent 259945799d
commit 239cac8033
18 files changed
+225 -5

No files matched your search

+2
View File
@@ -103,6 +103,8 @@ export function normalizeRaceAudioSettings(value = {}) {
raceCallouts: source.raceCallouts === "full" ? "full" : "passing",
// Practice hype calls (practice_hype_logic.js); never in qualifying or finals.
practiceHype: source.practiceHype !== false,
// Banner + warning when the decoder drops or goes silent during a heat (decoder_watch.js).
decoderAlarm: source.decoderAlarm !== false,
// Short lap time per passing, "Anders, 17 six": "practice" (default), "always" or "off".
lapTimeCalls: ["practice", "always", "off"].includes(source.lapTimeCalls) ? source.lapTimeCalls : "practice",
lapTimeCallName: source.lapTimeCallName === true,