Speed Limit Assist: audible alerts for certain states (#1378)

This commit is contained in:
Jason Wen
2025-10-14 09:19:26 -04:00
committed by GitHub
parent 7f5342f378
commit 4bd020e92b
5 changed files with 16 additions and 4 deletions
+2
View File
@@ -31,6 +31,8 @@ AudibleAlertSP = custom.SelfdriveStateSP.AudibleAlert
sound_list_sp: dict[int, tuple[str, int | None, float]] = {
# AudibleAlertSP, file name, play count (none for infinite)
AudibleAlertSP.promptSingleLow: ("prompt_single_low.wav", 1, MAX_VOLUME),
AudibleAlertSP.promptSingleHigh: ("prompt_single_high.wav", 1, MAX_VOLUME),
}
sound_list: dict[int, tuple[str, int | None, float]] = {