apps/mixer.git
5 years agoWIP version based on 4a High Level API 83/14483/6 eel 5.1.0 eel/5.1.0 eel_5.1.0
Loïc Collignon [Fri, 15 Jun 2018 21:31:34 +0000 (23:31 +0200)]
WIP version based on 4a High Level API

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>
5 years agoAdd some ignore in .gitignore 81/14481/2
Loïc Collignon [Thu, 14 Jun 2018 17:08:54 +0000 (19:08 +0200)]
Add some ignore in .gitignore

Ignore build directory, generated files and Visual Code settings.

Change-Id: I96589962f77dc9ce10999672f72b9ce774bf20bc
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoMake use of afb-helpers submodule 79/14479/1
Loïc Collignon [Thu, 14 Jun 2018 11:01:58 +0000 (13:01 +0200)]
Make use of afb-helpers submodule

The helper submodule provide some utilities like a websocket client.

Change-Id: Ic75c17749146c565de1e95ef65895a1daa7f124c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoAdd special permission to the mixer 77/14477/1
Loïc Collignon [Thu, 14 Jun 2018 10:06:04 +0000 (12:06 +0200)]
Add special permission to the mixer

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>
5 years agoRemove nasty hack to handle HALs 75/14475/1
Loïc Collignon [Thu, 14 Jun 2018 10:03:54 +0000 (12:03 +0200)]
Remove nasty hack to handle HALs

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>
5 years agomake of use of app templates to import right HALs depending on compilation options 73/14473/1
Loïc Collignon [Tue, 27 Mar 2018 12:29:57 +0000 (14:29 +0200)]
make of use of app templates to import right HALs depending on compilation options

Change-Id: I0f864b3a0bf4ee5527c6d32578990033f6707208
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agomake use of alsacore and hal bindings to control audio volume 71/14471/1
Loïc Collignon [Tue, 13 Mar 2018 07:56:37 +0000 (08:56 +0100)]
make use of alsacore and hal bindings to control audio volume

Change-Id: Ib7e90a7d2a148a067566bc04929fda445b46ab45
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agomixer: add clearer pulseaudio control naming 07/12907/1 4.99.5 5.0.0 5.0.1 5.0.2 5.0.3 eel/4.99.5 eel/5.0.0 eel/5.0.1 eel/5.0.2 eel/5.0.3 eel_4.99.5 eel_5.0.0 eel_5.0.1 eel_5.0.2 eel_5.0.3
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 agoAdd .gitreview defaultbranch for eel 4.99.4 eel/4.99.4 eel_4.99.4
Jan-Simon Möller [Wed, 29 Nov 2017 13:11:11 +0000 (14:11 +0100)]
Add .gitreview defaultbranch for eel

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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>