Dean Lee
797bb1acb0
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>
4 years ago
Dean Lee
fa8ddd992d
c++ replay: more robust seek ( #22375 )
...
* skip invalid segment
* test seek
* fix wrong cur_mono_time when route_start_ts is 0
* don't notify stream thread if current segment not merged
* continue merge next segment if current is invalid
* cleanup seekTo
* continue
* fix seek cross-boundary
* new demo route has 11 segments
* continue
* fix cross-boundary
* cleanup & better test cases
cleanup
remoe &
typo
update comment
* update test
* reserve space for new_events
* parallel sorting
* usleep(0)
* Revert "parallel sorting"
This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
4 years ago
Dean Lee
4e6ff308a8
c++ replay: chunking and concurrent downloads ( #22308 )
...
* download segment files by chunks in multiple threads
* remove easy_handl on aborting
* add test cases
* better error handling
* update test
* cleanup
* add CURLGlobalInitializer
* check http code
* finish
4 years ago
Dean Lee
935cbd3139
LoggerState: test cases ( #21855 )
...
* test multiple threads writing to log
* fix typo
* use util::getenv
* check INIT_DATA and SENTINEL
* test END_OF_SEGMENT
* add comment
* test multiple threads logging and rotation
* cleanup
* update
* LoggerHandle:quick fix
* cleanup
* revert test_loggerd.py
* refactor test case
* check lock file
* check refcnt after close
* test_runner.cc
d
* int eixt_signal
4 years ago