ananas/app
lsrom b0b7d7f5b5
Add ability to swipe up and down to adjust volume (#48)
* Add ability to swipe up and down to adjust volume

Created AudioController to adjust global volume for media channel. Alarm, system and other volume levels are unaffected. This way it doesn't need specific implementation for separate players. During swiping system volume slider is shown and it is possible to change direction mid-swipe.

AudioController should probably be singleton and provided by DI but currently PlayerActivity is handling all the playback so it seemed unnecessarily complicated.

Sensitivity can be adjusted by threshold value in VerticalSwipeListener.

* Add audio controller class

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-10-24 18:07:08 +02:00
..
libs Move libmpv lib out of seperate directory 2021-09-19 11:30:04 +02:00
src Add ability to swipe up and down to adjust volume (#48) 2021-10-24 18:07:08 +02:00
.gitignore Initial project 2021-05-29 10:52:44 +02:00
build.gradle.kts Update dependencies and improve server discovery 2021-10-23 17:39:46 +02:00
proguard-rules.pro Add mpvlib to proguard rules 2021-09-23 09:39:51 +02:00