summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-11switch: explicit route supportHEADflounder_5.99.1flounder/5.99.1eel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel_4.99.5eel_4.99.4eel_4.99.3eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.0eel/4.99.5eel/4.99.4eel/4.99.35.99.15.0.35.0.25.0.15.0.04.99.54.99.44.99.3mastereelYannick Gicquel3-5/+13
- stream to device Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11config: fixup type for demo effectYannick Gicquel2-4/+4
this is hardcoded for now, and automatically applied for phone routing group. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11router: get routing group from classmapYannick Gicquel1-7/+3
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11router: add missing accessorYannick Gicquel2-0/+29
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11node: fixup default string for agl_player nodes.Yannick Gicquel1-1/+1
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11CMakeLists: command line argument for pulse module installdirYannick Gicquel1-1/+2
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11sink_input_set_volume_ramp: API alignment on new patchsetYannick Gicquel1-1/+1
2016-10-11utils: index is unsigned typeYannick Gicquel1-2/+2
remove a warning (treated as error) to build correctly. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11all: update pa_module_unload() call to PA 8.0 apiYannick Gicquel2-3/+3
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-10-11Fix compilation with json-c on YoctoManuel Bachmann1-1/+1
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>
2016-10-11Add sample JSON configuration fileManuel Bachmann1-0/+41
A JSON configuration file is now provided and installed by default. Change-Id: I7e0b2bfb1c618c9864cf71ee0a035b74b86930de Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Implement JSON configuration fileManuel Bachmann4-8/+166
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>
2016-10-11Implement routing groups and volume ramp up/downManuel Bachmann10-30/+190
Change-Id: I0e9d3b8b8be4d124907214c165617d86be6906fc Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Map labels to classes, map routing groups to audio adaptersManuel Bachmann9-23/+89
Change-Id: I563aa146eba8de594900c02b44f19f526a5cdc0e Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Finalize basic configuration logicManuel Bachmann7-0/+252
Configuration-related structures and values are now applied everywhere. Change-Id: I5c665a649b8c7c52dd18d214cee6c484f491b584 Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Rename all internal pa_ definitions to agl_Manuel Bachmann25-292/+291
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>
2016-10-11Add basic configuration logic, builtin configurationManuel Bachmann6-6/+228
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>
2016-10-11Clean up node status after sink_input unlinkManuel Bachmann5-29/+74
We now unload all modules associated with a node when it disappears. Change-Id: I6d2055d546c9cc1b1967f85c973eafcc216bc91f Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Fix PA_CORE_HOOK typos in trackerManuel Bachmann1-2/+2
Change-Id: I01733c90eb1098a10aaf85b5c47b96d464307bd1 Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Fix invalid sink input treatment after module-loopbackManuel Bachmann1-0/+4
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>
2016-10-11Initial commitManuel Bachmann27-0/+3784
Change-Id: Ic974941bdd30309b4adb72b7a05959332750210b Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Initial empty repositoryJan-Simon Moeller0-0/+0