summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-20Updated documentationsandbox/ctxnop/docsLoïc Collignon21-138/+782
Added documentation up to date and using the gitbook format. Change-Id: Ie5d6a3bb489b9a9a95e21f5edd05bdd77bff5816 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-08-31Added .vscode to .gitignoreflounder_5.99.6flounder_5.99.5flounder/5.99.6flounder/5.99.55.99.65.99.5Loïc Collignon1-0/+1
Ignore the .vscode folder as it's IDE user files. Change-Id: I74ab91cfcc2a44dd6933ba07e1127c25fba39a05 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-08-31Do not list audio roles not bound to a deviceLoïc Collignon1-1/+13
Most of the time if you request an audio role, it's to use it. But you can't use an audio role not bound to a device. Listing not bound audio roles can also lead to confusion. If you want to list all audio roles anyway, you can now pass a verbose parameter. Bug: SPEC-1690, SPEC-1646 Change-Id: Ie216cb58317393c0e7136919bb9c91c259881acd Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-08-31Lower verbosityLoïc Collignon2-13/+13
Reduced the verbosity by using more approriate log level. All message can still be seen by increasing the verbosity of the service. Bug: SPEC-1688 Change-Id: I584ef1a594536eb91b9c4d74885192763a85bdcf 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 Bultel3-5/+75
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-10Fixed compilation warnings with latest jsoncThierry Bultel4-19/+43
Change-Id: I87a8c0ba3fdccf6bddd6f4fb7982225c1399f130 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-07-10No longer sets the API version in codeThierry Bultel3-3/+3
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-07-10Use latest version of controller submodule.Loïc Collignon1-0/+0
Changes of controller: (440be09 - Jonathan Aillet) Use binding version to set controller definitions (67b6d49 - Clément Bénier) ctl-lua: typo fix (bac7d6d - Clément Bénier) asynchronism for test: LockWait added (4a72073 - Romain Forlot) Fix: plugin api assignement order (e45d063 - Romain Forlot) Execute ConfigExec only if section is existing (2d1c3d2 - Romain Forlot) Always set the api member even if NULL. (9622138 - Romain Forlot) Ability to add a plugin after the initial load (0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time (1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load Change-Id: I1c038e6c73e730aaff9a8fe6ecde49be04c7d961 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Use latest version of afb-utilities submodule.Loïc Collignon1-0/+0
Changes of afb-utilities: (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: I94f1e651a4668d752bb8d4dd28dc25e9f37a6283 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-29Add ignore for NetBeans projects filesLoïc Collignon1-1/+1
Add NetBeans projects files to .gitignore so that they are not pushed. Change-Id: I9719243555d136bd4d78daa56011e9fdc537bc25 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29Fix build for migration to the binder from masterLoïc Collignon5-13/+38
Some definitions changed between eel and master versions of the app-framework-binder. Change-Id: I92d6f4af3193a693580d421adbd4331fcb249392 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29ahl-binding: enable AFB_BINDING_WANT_DYNAPI symbol to be compatible with ↵Stephane Desneux1-5/+6
legacy dynapi calls Change-Id: I130408705f8052fec0bd6a6a49740922630ecb0c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-27Merge branch 'eel' into 'master'Loïc Collignon5-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 Collignon2-30/+2
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-14Add special permission to the mixerLoïc Collignon1-9/+16
Mixer will make use of the high level api to control volume, but it has to have special permission to be allowed to control volume without opening the stream. Change-Id: Iabf76e3df329de3706f24ef21b6df35b5f5aab60 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 Collignon5-16/+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 Collignon8-409/+435
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 Collignon11-78/+298
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 Collignon61-4857/+984
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>
2018-01-03Merge "Several improvement on AHL error messages " into eeleel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.05.0.35.0.25.0.15.0.0Jan-Simon Moeller3-60/+71
2018-01-03Several improvement on AHL error messages Tai Vuong3-60/+71
This required a lot of changes in the code, please review carefully and decide if you want to include now or after CES Bug-AGL: SPEC-1207 Change-Id: If1aacecdd2aa9afd3ce4314c3b6334f9334faff4 Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2018-01-03Improve error messages for unable to find endpointTai Vuong1-1/+1
Added proper error messages Bug-AGL: SPEC-1207 Change-Id: I5d898f9ef3968021503e531f1b0e189cc878234e Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-12-22SPEC-1207 Several improvement on AHL error messages, this required a lot of ↵Tai Vuong3-60/+71
changes in the code, please review carefully and decide if you want to include now or after CES Change-Id: If1aacecdd2aa9afd3ce4314c3b6334f9334faff4 Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-12-22SPEC-1207 Improve error messages for unable to find endpointTai Vuong1-1/+1
Change-Id: I5d898f9ef3968021503e531f1b0e189cc878234e Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-12-20SPEC-1207 alh-4a error message add streamID information to unsubscribe error.eel_4.99.5eel/4.99.54.99.5Tai Vuong1-1/+1
Change-Id: Ib23b4d1c1d234678f3f0d1ad7628c4448985e8db Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-12-20SPEC-1207 alh-4a error message add streamID information to unsubscribe error.Tai Vuong1-1/+1
Change-Id: Ib23b4d1c1d234678f3f0d1ad7628c4448985e8db Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-12-19Provide JSON request when ctl-set FAIL SPEC-1183Fulup Ar Foll5-4/+115
Change-Id: I27aa13d7113614b9ef69d09dccc21551cfe2445d Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2017-12-18Provide JSON request when ctl-set FAIL SPEC-1183Fulup Ar Foll5-4/+115
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-29Add .gitreview defaultbranch for eelJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-27Change 4A PCM NameRonan Le Martret2-312/+347
Bug-AGL: SPEC-1136 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-16fix Invalid streamID error when close streameel_4.99.3eel/4.99.34.99.3Tai Vuong1-1/+5
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-11-14add detail documentationTai Vuong2-67/+217
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-11-13remove EFENCE since ALSA had issue with it, update submodule tagTai Vuong3-0/+4
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
2017-11-10Fix typoRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-10Fix WIDGET_CONFIG_TEMPLATE cmake variableRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-09Add Apache-2.0 LICENSE fileRonan Le Martret1-0/+204
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-09Merge branch 'gerrit-dev' of ↵Tai Vuong1-1/+1
github.com:Audiokinetic-Automotive/afb-audiohighlevel into gerrit-dev
2017-11-09add htdocs folderTai Vuong23-0/+681
2017-11-09use gerrit repo for ctl-utilities sub moduleRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-08rep cleanupTai Vuong25-881/+0
2017-11-08Gerrit PreparationTai Vuong3-6/+36
2017-11-07API change, set mute is now an integer instead of string, fix memory leak, ↵Tai Vuong7-86/+89
remove property value not implemented