Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

Commit

Permalink
Play sound on orange DM alert infinitely (commaai#392)
Browse files Browse the repository at this point in the history
* simulate driving

* debugging

* debugging

* always engaged

* fix

* fix

* see if this works

* see if this works

* try this

* try this

* revert

* how about this

* shh

* show orange for longer to debug

* repeat infinitely

* stock behavior

* stock behavior

* now verifiably better

* revert

* revert
  • Loading branch information
sshane authored Apr 23, 2021
1 parent 6c72e7b commit ac3ec4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/sound.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static std::map<AudibleAlert, std::pair<const char *, int>> sound_map {
{AudibleAlert::CHIME_ENGAGE, {"../assets/sounds/engaged.wav", 0}},
{AudibleAlert::CHIME_WARNING1, {"../assets/sounds/warning_1.wav", 0}},
{AudibleAlert::CHIME_WARNING2, {"../assets/sounds/warning_2.wav", 0}},
{AudibleAlert::CHIME_WARNING2_REPEAT, {"../assets/sounds/warning_2.wav", 3}},
{AudibleAlert::CHIME_WARNING2_REPEAT, {"../assets/sounds/warning_2.wav", -1}},
{AudibleAlert::CHIME_WARNING_REPEAT, {"../assets/sounds/warning_repeat.wav", -1}},
{AudibleAlert::CHIME_ERROR, {"../assets/sounds/error.wav", 0}},
{AudibleAlert::CHIME_PROMPT, {"../assets/sounds/error.wav", 0}}
Expand Down

0 comments on commit ac3ec4a

Please sign in to comment.