summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-16WIP version based on 4a High Level APIeel_5.1.0eel/5.1.05.1.0eelLoïc Collignon12-641/+204
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-16Add some ignore in .gitignoreLoïc Collignon1-0/+2
Ignore build directory, generated files and Visual Code settings. Change-Id: I96589962f77dc9ce10999672f72b9ce774bf20bc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14Make use of afb-helpers submoduleLoïc Collignon3-0/+4
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-14Add special permission to the mixerLoïc Collignon1-0/+1
The mixer can call the High Level API and bypass some checks to control volume without opening streams. To be able to do that, the mixer requires special permission. Change-Id: I7ac4c49864fcadcc10049557ac0c61300935d36f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14Remove nasty hack to handle HALsLoïc Collignon2-38/+0
We can now use the High Level API without having to connect directly to HALs. Change-Id: I629f769bfb9cd8a2d9661f9966cd49f0c135a1a3 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 Collignon19-74/+442
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 Collignon14-818/+655
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-29Add .gitreview defaultbranch for eeleel_4.99.4eel/4.99.44.99.4Jan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray3-27/+87
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-05-24Fix package nameeel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.1dab_3.99.1dab/3.99.14.99.24.99.13.99.1Tasuku Suzuki1-1/+1
Change-Id: I97ed87b4e34d971ff918d903c0d40b2d4d46e585 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
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 Porter17-0/+1271
Change-Id: I566050a1a8f241f140523df236de81ab951c1394 Signed-off-by: Matt Porter <mporter@konsulko.com>