soundd: mix ClearPilot ding alongside alerts; add ding.wav

Adds the ding sound effect that fires on speed-limit changes / cruise-
warning transitions (writers will set ClearpilotPlayDing="1" in
/dev/shm/params; soundd polls at ~2Hz, clears the flag, plays once).

The ding plays at MAX_VOLUME independent of the alert volume map and
mixes into the same output stream. Single-shot — no looping. Loaded
once at startup; failure to load just disables the ding (rest of soundd
keeps working).

print-to-stderr, not cloudlog (CLAUDE.md rule).
This commit is contained in:
2026-05-03 22:50:46 -05:00
parent f687d712e7
commit 5d2fe5248b
2 changed files with 45 additions and 1 deletions
Binary file not shown.