Dean Lee
72e6a332d1
sound.h: add #pragma once ( #29567 )
...
old-commit-hash: 2c20a2b5d7
2 years ago
Dean Lee
97e9d55588
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2 years ago
Dean Lee
4f7e9268e8
soundd: set volume on changes ( #29389 )
...
* set volume on change
* async set volumn
* Revert "async set volumn"
This reverts commit 7bc88c4983
.
old-commit-hash: 55c156dfb2
2 years ago
Adeeb Shihadeh
e603ff3427
soundd: cleanup remnants from running while offroad ( #29006 )
...
cleanup
old-commit-hash: 0bacd98828
2 years ago
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
3 years ago
Adeeb Shihadeh
7d4c84dcaf
repeat immediate warning sound
...
old-commit-hash: f3e67e0ec2
3 years ago
Adeeb Shihadeh
9c702c779e
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
old-commit-hash: 1501c2e376
3 years ago
Adeeb Shihadeh
6c2182c026
Newer sounds ( #23091 )
...
* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3b367e6872
3 years ago
Adeeb Shihadeh
dccb8b4010
New sounds ( #22652 )
...
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e
3 years ago
Adeeb Shihadeh
c142416931
soundd: configure as persistent process ( #22878 )
...
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857c
4 years ago
Adeeb Shihadeh
da7cd6bbaa
soundd: don't loop controls unresponsive sound infinitely ( #22839 )
...
* soundd: don't loop controls unresponsive sound infinitely
* update tests
* actually fix
old-commit-hash: 445a5aaca4
4 years ago
Dean Lee
c1a3683ccb
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa
.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f
.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 797bb1acb0
4 years ago