aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-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-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
2017-11-07Fix memory leak, ducking bug on policy, close streamTai Vuong7-126/+231
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 Foll13-326/+277
2017-11-03various bug fix, add alsa configuration file to match with Hal controlTai Vuong11-76/+192
2017-11-03fix typo, breaking buildTai Vuong2-2/+2
2017-11-02merge dev branch with masterTai Vuong92-6042/+764
2017-11-02code fix after review and before mergeTai Vuong12-219/+508
2017-11-01API change with API simplification and streamID optional for Stream Open and ↵Tai Vuong14-1303/+1179
Close
2017-11-01Integration with AlsaHookPlugin (work in progress)Fulup Ar Foll10-13/+307
2017-10-31Merge pull request #1 from ronan22/fulup-devFulup Ar Foll1-0/+1
add glib-2.0 pkg dep
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 Foll83-5789/+553
2017-10-30fix error in ReadMe.mdTai Vuong3-40/+35
2017-10-30isolate structure use in policy util from HLBTai Vuong42-1743/+3865
2017-10-27Add JSON object parameters for policy functions call, fix various bug and ↵Tai Vuong25-2417/+2801
code stabilisation
2017-10-16add policy and reference implementationTai Vuong24-364/+1506
2017-10-04Post AudioWorkshop Work phase v1Tai Vuong19-631/+2963
2017-09-13fix format of README.mdTai Vuong1-0/+1
2017-09-13Fix documentation mistakesTai Vuong1-6/+2
2017-09-12code cleanupTai Vuong1-15/+1