nopenpilot/selfdrive/ui
Dean Lee 8cacc14b31
Sound refactor (#1589)
* Soud refactor

* remove files from  files_common

* add timeout to set_volumn

* add param volume to init

* done

* test.cc

* fix typo

* add repeat param instead of loop

* revert submodule

* add member function currentSound

* remove function create_player from class member

* fix build error

fix repeat

* rename CHECK_RESULT to ReturnOnError

* set currentSound_ before posible err

* use std::map to initialize sound table

cleanup

cleanup

cleanup

fix bug in stop

change paramater name

* done

* remove function CreatePlayer, create player in init()

* resolve conflict

* remove sound test

* rebase

* remove whitespace

* Apply great review suggestion

* use player's SLVolumeItf interface to set volume

* use float

* leave the volume control the way it is
2020-06-15 15:26:38 -07:00
..
spinner selfdrive/ui 2020-01-17 11:05:23 -08:00
test Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
text add set_brightness in framebuffer.h (#1659) 2020-06-10 10:28:18 -07:00
SConscript Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
linux.cc Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
paint.cc Fixups for Mac, and a bunch for PC (#1654) 2020-06-11 18:21:59 -07:00
sidebar.cc ui.cc: remove variables from UIScene, use event::Reader to get data (#1585) 2020-06-05 15:33:45 -07:00
sound.cc Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
sound.hpp Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
ui ui was gitignored 2020-01-17 17:34:23 -08:00
ui.cc Sound refactor (#1589) 2020-06-15 15:26:38 -07:00
ui.hpp Sound refactor (#1589) 2020-06-15 15:26:38 -07:00