mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
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 e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b. * return Alert * cleanup * remove #include <optional> * cleanup .gitignore * revert to std::optional * Revert "revert to std::optional" This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b. * cleanup * remove volume check Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 797bb1acb0ed548bda23b9f76458a102bf7ccf5a
This commit is contained in:
@@ -340,7 +340,10 @@ selfdrive/ui/*.h
|
||||
selfdrive/ui/ui
|
||||
selfdrive/ui/text
|
||||
selfdrive/ui/spinner
|
||||
selfdrive/ui/soundd
|
||||
selfdrive/ui/soundd/*.cc
|
||||
selfdrive/ui/soundd/*.h
|
||||
selfdrive/ui/soundd/soundd
|
||||
selfdrive/ui/soundd/.gitignore
|
||||
|
||||
selfdrive/ui/qt/*.cc
|
||||
selfdrive/ui/qt/*.h
|
||||
|
||||
Reference in New Issue
Block a user