mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 06:44:04 +08:00
* 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
old-commit-hash: 8cacc14b31
18 lines
654 B
Python
18 lines
654 B
Python
Import('env', 'arch', 'common', 'messaging', 'gpucommon', 'visionipc', 'cereal')
|
|
|
|
src = ['ui.cc', 'paint.cc', 'sidebar.cc', '#phonelibs/nanovg/nanovg.c']
|
|
libs = [common, 'zmq', 'czmq', 'capnp', 'kj', 'm', cereal, messaging, gpucommon, visionipc]
|
|
|
|
if arch == "aarch64":
|
|
src += ['sound.cc']
|
|
libs += ['EGL', 'GLESv3', 'gnustl_shared', 'log', 'utils', 'gui', 'hardware', 'ui', 'CB', 'gsl', 'adreno_utils', 'OpenSLES', 'cutils', 'uuid', 'OpenCL']
|
|
linkflags = ['-Wl,-rpath=/system/lib64,-rpath=/system/comma/usr/lib']
|
|
else:
|
|
src += ['linux.cc']
|
|
libs += ['pthread', 'glfw']
|
|
linkflags = []
|
|
|
|
env.Program('_ui', src,
|
|
LINKFLAGS=linkflags,
|
|
LIBS=libs)
|