apps/mixer.git
5 years agoMake volume sliders works correctly 41/15241/1
Loïc Collignon [Thu, 5 Jul 2018 14:13:31 +0000 (16:13 +0200)]
Make volume sliders works correctly

Volume sliders are now binded to the High Level 4a API.

Change-Id: I46c4d80a19cf2a9047a502d9faa8bec6f7bd173e
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoWIP better handling for slider creation 39/15239/1
Loïc Collignon [Thu, 5 Jul 2018 12:30:25 +0000 (14:30 +0200)]
WIP better handling for slider creation

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>
5 years agoBetter Qt5 handling 37/15237/1
Loïc Collignon [Mon, 2 Jul 2018 13:39:53 +0000 (15:39 +0200)]
Better Qt5 handling

Make use of the correct cmake options to handle Qt correctly.

Change-Id: Ic7c65cb0a51085ec8cb1c0e2e98785a2d41ca0a8
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoAllow to build and run on native linux host 35/15235/1
Loïc Collignon [Mon, 2 Jul 2018 13:38:32 +0000 (15:38 +0200)]
Allow to build and run on native linux host

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>
5 years agoFix bad autocompletion 33/15233/1
Loïc Collignon [Mon, 2 Jul 2018 13:26:00 +0000 (15:26 +0200)]
Fix bad autocompletion

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>
5 years agoUse latest version of conf.d/app-templates submodule. 31/15231/1
Loïc Collignon [Tue, 10 Jul 2018 16:30:55 +0000 (18:30 +0200)]
Use latest version of conf.d/app-templates submodule.

Changes of conf.d/app-templates:

(332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI
(1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable
(0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE
(eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test.
(291aa4e - Romain Forlot) Change the default debug compilation options.
(22a2cbf - Romain Forlot) Clearer coverage compilation options configuration
(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: If5274a0be2a00a0166be8f5c3b6d7a517da821f5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoUse latest version of afb-helpers submodule. 29/15229/1
Loïc Collignon [Tue, 10 Jul 2018 16:29:00 +0000 (18:29 +0200)]
Use latest version of afb-helpers submodule.

Changes of afb-helpers:

(52f0478 - Jonathan Aillet) Remove unnecessary 'AFB_DEBUG' redefinition
(fc1c62a - Jonathan Aillet) Use binding version to handle dynapi
(5811a53 - Jonathan Aillet) At search, use the prefix parameter as a prefix
(2c29f15 - Loïc Collignon) Remove deprecated use of cmake/Qt macro
(5bec8c5 - Loïc Collignon) Rename method to avoid conflict with Qt's one

Change-Id: Ief77446c27e4c6299c1ba3e82d42a35ecf798e7f
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoFix build failure on master due to afb-helpers 77/14877/1 5.99.1 flounder/5.99.1 flounder_5.99.1
Loïc Collignon [Fri, 29 Jun 2018 14:53:24 +0000 (16:53 +0200)]
Fix build failure on master due to afb-helpers

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>
5 years agoMerge 'eel' into 'master' 31/14731/1
Loïc Collignon [Wed, 27 Jun 2018 15:30:37 +0000 (17:30 +0200)]
Merge 'eel' into 'master'

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>
6 years agomixer: add clearer pulseaudio control naming 67/12867/2
Matt Ranostay [Wed, 20 Dec 2017 06:39:05 +0000 (22:39 -0800)]
mixer: add clearer pulseaudio control naming

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>
6 years agoPorting to new HMI Framework 49/11949/1 4.99.3 eel/4.99.3 eel_4.99.3
Scott Murray [Tue, 14 Nov 2017 13:33:09 +0000 (22:33 +0900)]
Porting to new HMI Framework

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>
7 years agoFix package name 01/9501/1 3.99.1 4.99.1 4.99.2 dab/3.99.1 dab_3.99.1 eel/4.99.1 eel/4.99.2 eel_4.99.1 eel_4.99.2
Tasuku Suzuki [Wed, 24 May 2017 04:24:22 +0000 (13:24 +0900)]
Fix package name

Change-Id: I97ed87b4e34d971ff918d903c0d40b2d4d46e585
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoAdd support for handling external sink/source volume change events 55/9155/3
Matt Porter [Thu, 20 Apr 2017 16:49:15 +0000 (12:49 -0400)]
Add support for handling external sink/source volume change events

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>
7 years agoFix source volume setting in PaClient::setVolume 51/9151/3
Matt Porter [Thu, 20 Apr 2017 03:39:07 +0000 (23:39 -0400)]
Fix source volume setting in PaClient::setVolume

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>
7 years agoConvert the sink/source volume caches from a list to hashes 41/9141/4
Matt Porter [Wed, 19 Apr 2017 16:53:55 +0000 (12:53 -0400)]
Convert the sink/source volume caches from a list to hashes

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>
7 years agoRewrite PulseAudio backend into a threaded class 39/9139/3
Matt Porter [Sat, 15 Apr 2017 13:18:25 +0000 (09:18 -0400)]
Rewrite PulseAudio backend into a threaded class

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>
7 years agoAGL-style PulseAudio mixer app 91/7691/2
Matt Porter [Mon, 19 Dec 2016 18:55:11 +0000 (13:55 -0500)]
AGL-style PulseAudio mixer app

Change-Id: I566050a1a8f241f140523df236de81ab951c1394
Signed-off-by: Matt Porter <mporter@konsulko.com>