aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/mastervolume.h
AgeCommit message (Collapse)AuthorFilesLines
2022-07-04Add VIS vehicle signal supportScott Murray1-10/+11
Update the volume control code to use to use VIS signalling instead of the previous agl-service-audiomixer binding usage. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifc622a51991110c7786b80ee0af574ed6ca80561 (cherry picked from commit e3b392b8a0767f35e6dbbdb1e9d126294aebdcb5)
2021-11-04Initial rework to run without the app frameworkScott Murray1-4/+3
Changes: - Remove application framework build scripts, and update the application qmake file to just build a "homescreen" binary and support installing it to /usr/bin. - Remove voice API related code. Some of the associated QML and images for the UI have been retained in case equivalent functionality is re-added in the future. - Remove or stub out various app framework API access for the homescreen and launcher bindings, and comment out usage of the Qt wrappers from libqtappfw (e.g. Bluetooth). The aim is to provide a replacement library or libraries for the latter that provide the same functionality. - Remove the old homescreen API documentation and do an initial update of the build instructions in README.md. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iab979c8e1341f2da0384f88f163a977b03664600
2019-03-15autobuild: introduce build scriptsJan-Simon Moeller1-1/+1
This reverts commit bde8622fc349829cf03e196f2161995688fc1a09. Which reverted the original commit from Raquel. With the dependency added, we can go ahead now. Thanks for the fix. Change-Id: Ia0e5c34252eb832dbaebb643e7e06e53d74c29dc
2019-03-14Revert "autobuild: introduce build scripts"Jan-Simon Moeller1-1/+1
We need to double-check this works with the recipe. This reverts commit e931f079cf5015299256f2f01b824ae42247127e. Change-Id: I8471e87d1234d98850f2a60114bde34e2dc009a6
2019-03-14autobuild: introduce build scriptsRaquel Medina1-1/+1
- Add agl autobuild script to silence build warnings on yocto. - Add linux autobuild script to build with the sdk - Migrate to afb helper library version to successfully build with the sdk using autobuild script. NB: The 2 autobuild scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Change-Id: I7196665b65693bfe5557a0008fb36aa7b38068a5 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-12-19Bind the slider volume to the 4a active roleLoïc Collignon1-24/+27
4a now expose an active role, which is the opened role with the higher priority. This binds the slider to the active role. Bug: 1313 Change-Id: I73766163fc0b8ef1e6b70e9c13e28d3642be858a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-30Merage homescreen-2017 modification to homescreen.zheng_wenlong1-3/+1
1. Add "Remove useless ref to pulseaudio" commit to homescreen. 2. Remove launch app code for my mistake merging. Right now this source is same as a8b94699ae7ec155729fcccda2be4f22328ca790. Relative Commit: https://gerrit.automotivelinux.org/gerrit/#/c/15563/ Change-Id: I966e86c73d9f66ac7a7ff6763be3544ecaba28cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-10Copy source code from homescreen-2017flounder_5.99.2flounder/5.99.25.99.2zheng_wenlong1-1/+0
We decide to use homescreen instead of homescreen-2017. Copy the source code from homescreen-2017 and delete word "-2017". Revision: b4db06287bc997ded71deab50ff0ff5889b09e1f Bug-AGL: SPEC-1549 Change-Id: Id77226b7ce35bbc29c868281c37b76ea3f930ad5 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-05-22Add master volume control sliderMatt Porter1-0/+49
Adds support for a master volume control to the HomeScreen app. The master volume slider appears when touching in the MediaArea at the bottom of the screen. If there is no interaction with the slider, it fades out after 5 seconds so that the AGL logo area is not obscured. The volume slider is accessible across all applications due to the MediaArea portion of HomeScreen always being exposed to the screen. The slider volume control is tied to the default PA sink and applies proportional volume control across all channels of the default sink when changed. It also reacts to external volume change events from other PA clients (e.g. Mixer app or pactl CLI changes) and updates the master volume slider accordingly. AGL-Bug: SPEC-550 Change-Id: I9bf55bc624f4bb95c162a79bd2eb314d8f945033 Signed-off-by: Matt Porter <mporter@konsulko.com>