summaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Removed unused dependency on 4a-softmixerLoïc Collignon1-4/+0
Softmixer was used a long time ago as a workaround of a lacking feature of HALs. It's not used anymore. Also removed an old commented dependency from the widget file. Change-Id: Id9e77adf7cb2470b720d387f6f8026da2025d162 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-22Migration to Afb API v3Loïc Collignon1-3/+1
Migrate the API to get rid of dynapi by using API v3 instead. Also fix possible bugs and memory leaks when startup fails. Bug: SPEC-1546 Change-Id: I7cf8e9454d6910b1258dfe671dedde3b84855fc4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-19Use latest version of controller submodule.Loïc Collignon1-1/+1
Changes of controller: (ce07538 - Romain Forlot) Abort if one required API is missing (625ce77 - Jonathan Aillet) Correct an error when no plugins are defined (0f708ba - Jonathan Aillet) Decrease print level when no onload action (8d53984 - Jonathan Aillet) Add a 'params' fields for controller plugins (35398f2 - Jonathan Aillet) Call wasn't done correctly in 'CtlConfigExec' (bc13eef - Romain Forlot) Add ctlPlugins array to the ctlConfig structure (0176d18 - Romain Forlot) Add an Init step to the plugins load (d6eb01e - Romain Forlot) Change loading configuration object behavior (c3a70d7 - CorentinLGS) app-controller-submodule doc: Changed doc to fit new format. (82820f4 - Romain Forlot) Fix: compatibility with binder FF.RC4 (02bbf59 - Romain Forlot) Fix: Wrong variable definition (bdf1a6b - Thierry Bultel) ctl-lua: Fixed memory corruption (4386ec5 - Romain Forlot) Migration to v3 (789a8ae - Romain Forlot) Adds v3 function to get binding settings (3891dcc - Romain Forlot) New function returning the binding root directory (e7132f1 - Romain Forlot) Change the default GLOB pattern (36ed31c - Romain Forlot) Fix wrong computed length (29307ea - Romain Forlot) Add path to the installed widget path. (191292f - CorentinLGS) Controller: Converted README to a gitbook version. (4e30eb1 - Romain Forlot) New defaults useful functions on lua table (61cbc9a - Romain Forlot) More precise log message when loading a Lua file (535df7f - Romain Forlot) Fix: wrong legacy function signature (b79a761 - Romain Forlot) Split loading JSON controller file. (c3d7de2 - Romain Forlot) Release arguments once C function returned. (a58d83b - Romain Forlot) Fix : typo introduced in a previous commit. (86f65bd - 8000ff) Fixed character counting that was shortening paths (e32d98c - Jonathan Aillet) Keep json unmodified during action execution (88892db - Romain Forlot) Use prefix variable to find controller's plugins Change-Id: Ia5b49c10a608fdef79084c2f86da75887a1e2737 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-19Use latest version of app-templates submodule.Loïc Collignon2-7/+1
Changes of conf.d/app-templates: (d6c7b96 - Romain Forlot) Minor fixes (35065ca - Romain Forlot) Improved test widget launcher script (f75c2d7 - Romain Forlot) Set default link flags to the target property (765504e - Romain Forlot) Use a custom test-config.xml file for test widget (210e7a7 - Matt Ranostay) cmake: coverage: disable compiler optimization for COVERAGE build (0f25ab2 - Romain Forlot) Adding warning message to migrate on CMake module (3dc85ec - Thierry Bultel) common.cmake: fixed erroneous search path for os-release (7fa5e5a - Romain Forlot) Fix: missing gcov symbol in compiled binaries (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var Change-Id: Ie9bfbd48a52a56fd3a722b40e87ee92fd6ecf694 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-11Added role for radio, and mute/unmute actionsflounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.4flounder/5.99.3flounder/5.99.25.99.45.99.35.99.2Thierry Bultel1-1/+7
This defines a new 'radio' role that uses the radio_stream Also implements the new mute/unmute actions, that are forwarded to the softmixer. Now registers to a client (multimedia player, radio service ...) disconnection, to properly free the leased role. Change-Id: Ic15fb63cd90ba28f3978c67d917a77ed6b030e08 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-07-10No longer sets the API version in codeThierry Bultel1-0/+2
This is done in config.cmake Change-Id: Icf36d61a5127689e55e11125cbe60b72b939bb1a Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Use latest version of conf.d/app-templates submodule.Loïc Collignon1-0/+0
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: I4ee5e9f0a70bbc555d3d93f2534f4f913a9e6951 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29Fix search path for config fileflounder_5.99.1flounder/5.99.15.99.1Loïc Collignon1-1/+1
App templates make the config path change after each commit. This is a workaround until app templates are fixed or a better solution is found. Change-Id: I73fd69cf12f3ff2e283e80d2ae56629c290f7a9a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-27Merge branch 'eel' into 'master'Loïc Collignon3-2/+2
Replace the whole content of 'master' by the content of 'eel' as it is the new version using the new API. Change-Id: Ifc72f9dfa44d678aefb1641c8cebca97b2aeffbe Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14Fix a bug that duplicate the roles arrayeel_5.1.0eel/5.1.05.1.0eelLoïc Collignon1-30/+0
Controller call the config twice due to multiple initialisation phase, the code should handle this behaviour to not doing things twice. Also removed an unused section from the config file. Change-Id: Iecf09fe494173b757c3557d838782c50153dbfb4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-14CONTROL_CONFIG_PATH: add widget install path on targetStephane Desneux1-3/+3
When installing agl-service-audio-4a on a target, the controller should also search json config files in the folder where the widget has been extracted by application framework. Change-Id: I24b9c83c4a357fbad23744964aa1298c770fa6e8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-13Fix bad service nameLoïc Collignon1-1/+1
Service name had change during tests phases, but I forgot to restore to the original name. As long as the recipe do things base on this name, it have to be restored. Change-Id: If00d69f34fe04f6dbacee01e96ac0c49b4f56dad Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-13Fix issue that prevent config file deploymentLoïc Collignon4-10/+48
The required config file was not deployed during the widget creation. Also removed a useless and empty source file. Change-Id: Icaca2ef600441dba75d728a76a175049d31966a9 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-12Update to last softmixer and hal, plus some fixesLoïc Collignon1-6/+31
Use the last 4a-softmixer and 4a-hal-generic versions. Fix some potential crash and performance bottleneck. Now support sessions to disallow multiple opening or closing by not owner. Change-Id: I95b020a3fab03b1e1058812adae1d8d5986f282b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-12Add some policy emulationLoïc Collignon2-3/+17
Add a very simplistic policy emulation just for demo. The real policy engine will be brought back soon. Change-Id: I6f77c8dc58ba335eabd1a1d858354a84559d9e7f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-12Rewrite of the High Level API using the new HAL modelLoïc Collignon10-666/+68
The new HAL model need the High Level API to be rewritten. This is the first version of this rewrite, still in progress but should work. Change-Id: I5c94cf39d84cefae6b7a179c09d95e645673e8d4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-19Provide JSON request when ctl-set FAIL SPEC-1183Fulup Ar Foll2-2/+2
Change-Id: I27aa13d7113614b9ef69d09dccc21551cfe2445d Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2017-12-18Provide JSON request when ctl-set FAIL SPEC-1183Fulup Ar Foll2-2/+2
Change-Id: I27aa13d7113614b9ef69d09dccc21551cfe2445d Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2017-12-13conf.d: add permission for UNICENSTobias Jahnke1-0/+1
Bug-AGL: SPEC-1167 - Add missing monitor permission which is required to register notifications and control devices. Change-Id: I9ed309777555aff2b3fd9efd44ad108ef9517095 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2017-12-12conf.d: add permission for UNICENSTobias Jahnke1-0/+1
Bug-AGL: SPEC-1167 - Add missing monitor permission which is required to register notifications and control devices. Change-Id: I9ed309777555aff2b3fd9efd44ad108ef9517095 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2017-12-07Fix 4a ahl when using unicens serviceeel_4.99.4eel/4.99.44.99.4Ronan Le Martret1-0/+1
Bug-AGL: SPEC-1151 Change-Id: Ie3fd7aa237d843b77426649db191eb1fc844a7fc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-12-05Fix 4a ahl when using unicens serviceRonan Le Martret1-0/+1
Bug-AGL: SPEC-1151 Change-Id: Ie3fd7aa237d843b77426649db191eb1fc844a7fc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-14add detail documentationTai Vuong1-11/+114
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-11-13remove EFENCE since ALSA had issue with it, update submodule tagTai Vuong2-0/+4
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-11-10Fix WIDGET_CONFIG_TEMPLATE cmake variableRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-08Gerrit PreparationTai Vuong2-6/+30
2017-11-07API change, set mute is now an integer instead of string, fix memory leak, ↵Tai Vuong1-2/+2
remove property value not implemented
2017-11-07Fix memory leak, ducking bug on policy, close streamTai Vuong1-1/+1
2017-11-06Remove --cntxtimeout=1Fulup Ar Foll2-2/+47
2017-11-05Update Fulup Testing ConfigFulup Ar Foll1-0/+45
2017-11-05Added few protection again invalid configFulup Ar Foll6-204/+87
2017-11-03various bug fix, add alsa configuration file to match with Hal controlTai Vuong4-41/+79
2017-11-02merge dev branch with masterTai Vuong62-3750/+268
2017-11-02code fix after review and before mergeTai Vuong1-8/+0
2017-11-01Integration with AlsaHookPlugin (work in progress)Fulup Ar Foll6-1/+255
2017-10-31add glib-2.0 pkg depRonan Le Martret1-0/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-10-30Code Reorganisation preparing transfer to gerritFulup Ar Foll57-3750/+13
2017-10-27Add JSON object parameters for policy functions call, fix various bug and ↵Tai Vuong9-526/+292
code stabilisation
2017-09-12Pre-AudioWorkshop DemoTai Vuong55-0/+4010
2017-09-12remove app-templatesTai Vuong1-0/+0
2017-08-24adding required submoduleTai Vuong1-0/+0
2017-08-24Initial commitTai Vuong9-0/+566