aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10Fix missing API importsandbox/ctxnop/4a_masterLoïc Collignon1-0/+1
Mixer should import ahl-4a api to be able to control volume. Change-Id: Ic953d1572bedc4200cddb578c64885b2bb26c2bb Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Fix issue with QML variable declarationLoïc Collignon1-7/+4
It seems that you have to make a local variable to access member, you can't access a member of a member. Change-Id: I7ba4918372355d3c3d0f937a6363a1f640d10e41 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-09Fix the config.xml content URILoïc Collignon1-1/+1
The binary should placed into a bin sub-directory. Change-Id: If88e6a759639aa5dfff0ee0e112971a399b656e5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-09HACK: Fix compilation script to find the widgetLoïc Collignon1-0/+1
Due to cmake alias and different usage (when yocto, when jenkins, etc...), the autobuild script can produce a widget in a wrong place. Change-Id: I877f9f432a4b452f2c6099061c57798e3d615bc4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-09CMakeLists.txt: fix typo on qtwindowmanagerStephane Desneux1-1/+1
Change-Id: Id78d210f194c654f095a751a4d5dc4559840bd2a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-09Bump to last app-template versionLoïc Collignon1-0/+0
Fix yocto os dectection. Change-Id: I5277f19b38791e9e7cc0463cb012fec0bdadb5ac Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-09Fix author node in config.xmlLoïc Collignon1-5/+4
XML node wasn't correct so that it fails to parse. Change-Id: I17acf3ba7be405c5bbe66c6c58b317e3d5e3bbca Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Bump to last app-templates versionLoïc Collignon1-0/+0
Changed some compilations flags and fixed the OS detection when Yocto. Change-Id: I4a013da89e71a2cb79b3cb107494d7006d8e8726 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Make volume sliders works correctlyLoïc Collignon3-15/+33
Volume sliders are now binded to the High Level 4a API. Change-Id: I46c4d80a19cf2a9047a502d9faa8bec6f7bd173e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05WIP better handling for slider creationLoïc Collignon8-44/+85
The creation of sliders is now using a template instead of a string computation. Also fixed some indentation and trailing spaces issues. Change-Id: Ieb1d9f953d61fa1bac46bf1ab6904e67d09a3fa9 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Bump to last afb-helpers versionLoïc Collignon2-1/+1
The last afb-helper version change the way we should define the binding version. Change-Id: I2e33493c1712c5a476a813c0e062769e63ed11a4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Added some ignores to .gitignoreLoïc Collignon1-0/+4
Added some IDE and support for multiple build directory. Change-Id: Ia5dae5e5e0400e0740828b66ecccde371c1e2929 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Use latest version of afb-helpers and app-templates submoduleLoïc Collignon2-0/+0
Changes of afb-helpers: (294a579 - Loïc Collignon) Remove deprecated use of cmake/Qt macro (5bec8c5 - Loïc Collignon) Rename method to avoid conflict with Qt's one Changes of conf.d/app-templates: (aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists (a13e7b9 - Romain Forlot) Disable the in-tree build method. (51026d2 - Romain Forlot) Detect Yocto as OS distribution Change-Id: I2d280a8d81a98168f8d875d25ab72bf906ee2e6a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Better Qt5 handlingLoïc Collignon1-8/+9
Make use of the correct cmake options to handle Qt correctly. Change-Id: Ic7c65cb0a51085ec8cb1c0e2e98785a2d41ca0a8 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Allow to build and run on native linux hostLoïc Collignon3-12/+38
Make libhomescreen and libmanager dependencies optional so that you can build, run and debug on a native linux host, to allow faster development. Change-Id: Ice0b7e196e9a88dc7f0f8e9894eb9091c6ba566e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Fix bad autocompletionLoïc Collignon1-1/+1
This fails silently most of the times, but under some conditions nothing is displayed because of this bad autocompletion mistake. Change-Id: I96dceb21e0dba21da3120deb8312155a7822f94f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-05Fixed compile due to rename of a dependencyLoïc Collignon1-1/+1
QtWindowManagerWrapper was renammed to QtWindowManager. Change-Id: I7005bb26ace1f1bfa09ec3466fb67fb757cd2f87 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29Fix build failure on master due to afb-helpersflounder_5.99.1flounder/5.99.15.99.1Loïc Collignon1-0/+3
The afb-helpers submodule do not build anymore on master because of dynapi change. Added a definition so fix the issue. Change-Id: Iaf5a1bd58e6628e89af2ec7bab44c188b535e993 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-27Merge 'eel' into 'master'Loïc Collignon24-890/+627
Replace content from 'master' by content from 'eel' as it's the new version based on 4a on which new development will be done. Change-Id: I2966af7dcee59701ff3a344487c008d7e65e68ed Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21mixer: add clearer pulseaudio control namingMatt 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 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>