staging/agl-audio-plugin.git
7 years agoswitch: explicit route support eel master 4.99.3 4.99.4 4.99.5 5.0.0 5.0.1 5.0.2 5.0.3 5.99.1 eel/4.99.3 eel/4.99.4 eel/4.99.5 eel/5.0.0 eel/5.0.1 eel/5.0.2 eel/5.0.3 eel_4.99.3 eel_4.99.4 eel_4.99.5 eel_5.0.0 eel_5.0.1 eel_5.0.2 eel_5.0.3 flounder/5.99.1 flounder_5.99.1
Yannick Gicquel [Wed, 28 Sep 2016 08:24:48 +0000 (10:24 +0200)]
switch: explicit route support

- stream to device

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoconfig: fixup type for demo effect
Yannick Gicquel [Wed, 28 Sep 2016 08:10:35 +0000 (10:10 +0200)]
config: fixup type for demo effect

this is hardcoded for now, and automatically applied for phone routing group.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agorouter: get routing group from classmap
Yannick Gicquel [Wed, 28 Sep 2016 08:08:29 +0000 (10:08 +0200)]
router: get routing group from classmap

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agorouter: add missing accessor
Yannick Gicquel [Wed, 28 Sep 2016 07:59:53 +0000 (09:59 +0200)]
router: add missing accessor

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agonode: fixup default string for agl_player nodes.
Yannick Gicquel [Wed, 28 Sep 2016 07:48:31 +0000 (09:48 +0200)]
node: fixup default string for agl_player nodes.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoCMakeLists: command line argument for pulse module installdir
Yannick Gicquel [Fri, 23 Sep 2016 16:44:21 +0000 (18:44 +0200)]
CMakeLists: command line argument for pulse module installdir

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agosink_input_set_volume_ramp: API alignment on new patchset
Yannick Gicquel [Wed, 28 Sep 2016 08:46:41 +0000 (10:46 +0200)]
sink_input_set_volume_ramp: API alignment on new patchset

7 years agoutils: index is unsigned type
Yannick Gicquel [Fri, 23 Sep 2016 13:31:20 +0000 (15:31 +0200)]
utils: index is unsigned type

remove a warning (treated as error) to build correctly.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoall: update pa_module_unload() call to PA 8.0 api
Yannick Gicquel [Fri, 23 Sep 2016 13:29:39 +0000 (15:29 +0200)]
all: update pa_module_unload() call to PA 8.0 api

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoFix compilation with json-c on Yocto
Manuel Bachmann [Fri, 8 Jul 2016 15:22:44 +0000 (17:22 +0200)]
Fix compilation with json-c on Yocto

json-c headers are only provided in the "json-c" directory
on Yocto/Poky, so use this as the default path.

Change-Id: If7e318673cbe0fd8a63461f8e75cf0f03f89636b
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoAdd sample JSON configuration file
Manuel Bachmann [Fri, 8 Jul 2016 15:18:32 +0000 (17:18 +0200)]
Add sample JSON configuration file

A JSON configuration file is now provided and installed
by default.

Change-Id: I7e0b2bfb1c618c9864cf71ee0a035b74b86930de
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoImplement JSON configuration file
Manuel Bachmann [Fri, 8 Jul 2016 14:31:01 +0000 (16:31 +0200)]
Implement JSON configuration file

A JSON configuration file can now be read as "/etc/
pulseaudio-agl.cfg", and a sample one is provided by the
package. If it exists and is valid, it will override the
default configuration.

As a result, the module now depends on json-c.

Change-Id: I3f5deccc6f9b89cbd54bea7004271b8aec727538
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoImplement routing groups and volume ramp up/down
Manuel Bachmann [Thu, 7 Jul 2016 15:29:08 +0000 (17:29 +0200)]
Implement routing groups and volume ramp up/down

Change-Id: I0e9d3b8b8be4d124907214c165617d86be6906fc
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoMap labels to classes, map routing groups to audio adapters
Manuel Bachmann [Wed, 6 Jul 2016 08:16:36 +0000 (10:16 +0200)]
Map labels to classes, map routing groups to audio adapters

Change-Id: I563aa146eba8de594900c02b44f19f526a5cdc0e
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoFinalize basic configuration logic
Manuel Bachmann [Mon, 4 Jul 2016 12:29:04 +0000 (14:29 +0200)]
Finalize basic configuration logic

Configuration-related structures and values are now
applied everywhere.

Change-Id: I5c665a649b8c7c52dd18d214cee6c484f491b584
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoRename all internal pa_ definitions to agl_
Manuel Bachmann [Tue, 14 Jun 2016 09:44:45 +0000 (11:44 +0200)]
Rename all internal pa_ definitions to agl_

The plugin often uses "pa_" for its internal structures
and functions, which is misleading because this prefix is
also used by PulseAudio itself. Thus, reading the code can
be confusing.
Rename everything to "agl_".

Change-Id: Iadd03daf528ec0cbed1cb526aeb3bada757a211f
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoAdd basic configuration logic, builtin configuration
Manuel Bachmann [Mon, 13 Jun 2016 11:15:17 +0000 (13:15 +0200)]
Add basic configuration logic, builtin configuration

There is now a default routing configuration provided at
startup (config file parsing is stubbed, decide if we need
it for routing purposes, or just for very basic things).

Change-Id: Ib824b63c663355ed80d0e6823d5f9aec8cb093d5
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoClean up node status after sink_input unlink
Manuel Bachmann [Mon, 13 Jun 2016 08:11:28 +0000 (10:11 +0200)]
Clean up node status after sink_input unlink

We now unload all modules associated with a node when
it disappears.

Change-Id: I6d2055d546c9cc1b1967f85c973eafcc216bc91f
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoFix PA_CORE_HOOK typos in tracker
Manuel Bachmann [Fri, 10 Jun 2016 13:26:02 +0000 (15:26 +0200)]
Fix PA_CORE_HOOK typos in tracker

Change-Id: I01733c90eb1098a10aaf85b5c47b96d464307bd1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoFix invalid sink input treatment after module-loopback
Manuel Bachmann [Fri, 10 Jun 2016 12:08:06 +0000 (14:08 +0200)]
Fix invalid sink input treatment after module-loopback

When loading module-loopback, it may create a new sink
input replicating the original one, but with no client
attached. We don't want to re-pass this one through the
whole logic (with NULL sink, etc), so just consider it
legit.

Change-Id: I218c459e1685621c1f59e1d8722e0f1cff88d225
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoInitial commit
Manuel Bachmann [Thu, 9 Jun 2016 16:22:08 +0000 (18:22 +0200)]
Initial commit

Change-Id: Ic974941bdd30309b4adb72b7a05959332750210b
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoInitial empty repository
Jan-Simon Moeller [Tue, 11 Oct 2016 14:24:39 +0000 (14:24 +0000)]
Initial empty repository