summaryrefslogtreecommitdiffstats
path: root/homescreen/src/mastervolume.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10homescreen: fix master volume control nameGeorge Kiagiadakis1-3/+5
Fixes the master volume control on the homescreen, which broke after I renamed the control in agl-service-audiomixer to "Master Playback" Bug-AGL: SPEC-3844 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: Iadc859b29d823a703865a301877a75575a78a650
2019-08-30Fix master volume sliderScott Murray1-1/+2
The switch to using agl-service-audiomixer missed a scaling to 0.0 - 1.0 for the value requested when changing the master volume slider, add that to fix it. Also, change the displayed name back to "Master Volume" to match what it now represents with PipeWire. Bug-AGL: SPEC-2788 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2fb94d161499b759540105958bcb3d6f5da1884f
2019-06-10mastervolume: port to use the pipewire audiomixer servicehalibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.0halibut/7.99.3halibut/7.99.28.0.07.99.37.99.2George Kiagiadakis1-19/+29
Bug-AGL: SPEC-2473 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I5bacca161ce18a5ad047e4aaa2e395beb016d212
2018-12-19Bind the slider volume to the 4a active roleLoïc Collignon1-7/+76
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-1/+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-2/+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/+33
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>