summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2018-06-16WIP version based on 4a High Level APIeel_5.1.0eel/5.1.05.1.0eelLoïc Collignon8-638/+112
This is a non-completly working version based on the 4a High Level API. It displays one slider per audio role, should be able to set volume on roles, but sliders are not in sync and moving a slider cause a lot of calls due to bug. Supposed to be fixed soon. Also, had to hack the autobuild script cause it make cmake to fail. Obsiously, target 'package' should run 'make widget'... Change-Id: Ic16ed484e090ebc853e59b836ff1570afdcfce3b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14Make use of afb-helpers submoduleLoïc Collignon1-0/+1
The helper submodule provide some utilities like a websocket client. Change-Id: Ic75c17749146c565de1e95ef65895a1daa7f124c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14make of use of app templates to import right HALs depending on compilation ↵Loïc Collignon10-32/+158
options Change-Id: I0f864b3a0bf4ee5527c6d32578990033f6707208 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14make use of alsacore and hal bindings to control audio volumeLoïc Collignon13-818/+653
Change-Id: Ib7e90a7d2a148a067566bc04929fda445b46ab45 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21mixer: add clearer pulseaudio control namingeel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel_4.99.5eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.0eel/4.99.55.0.35.0.25.0.15.0.04.99.5Matt Ranostay6-15/+40
Use the role name for the control name in the Mixer UI instead of overall vague control description Bug-AGL: SPEC-1196 Change-Id: I34b5c3378fa3bca7464067490907f9ae0adb6364 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray2-26/+79
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Iacfb8ad1a6851d0ca9bbcc1815ef5f0822b3836c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-04-21Add support for handling external sink/source volume change eventsMatt Porter6-10/+146
Subscribes to PA volume change events, updating the local cached volume levels, and propagating the change to the UI. This allows changes to sink/source volumes levels from the command line (pactl) or a master volume control to be reflected in the mixer UI controls. Change-Id: I1d570dffeab9fcf4b6ba51e4792852b44a6149ca AGL-Bug: SPEC-549 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Fix source volume setting in PaClient::setVolumeMatt Porter1-1/+1
Fix error resulting in sources not being found due to searching the sink cache hash. AGL-Bug: SPEC-548 Change-Id: Icd5a75af7a5fc2e0e125d96910af034e4d0873a3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Convert the sink/source volume caches from a list to hashesMatt Porter2-18/+18
Maintain the cached sink/source volume state in separate hashes for quick lookup. This will further simplify external volume event support that will need to update the cache. AGL-Bug: SPEC-548 Change-Id: I47b8e070318f3992a5343d1753c50baa8c1d9cb3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Rewrite PulseAudio backend into a threaded classMatt Porter9-304/+359
Converts the Mixer PulseAudio backend from a C library to a PaClient class which runs in its own QThread. This faciliates isolation of PaControlModel updates to the QML thread where they belong. It also provides the foundation for runtime updates of the model and reuse of the PaClient class in other apps. AGL-Bug: SPEC-548 Change-Id: I13c4c220fde2fd4bc4aea2e04f39152a963b5fa0 Signed-off-by: Matt Porter <mporter@konsulko.com>
2016-12-21AGL-style PulseAudio mixer appMatt Porter9-0/+722
Change-Id: I566050a1a8f241f140523df236de81ab951c1394 Signed-off-by: Matt Porter <mporter@konsulko.com>