summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a
AgeCommit message (Collapse)AuthorFilesLines
2018-09-284A: delay service startup as a workaround to SPEC-1762/SPEC-1763 (temp ↵flounder_6.0.0flounder/6.0.06.0.0Stephane Desneux2-0/+97
workaround) This patch introduces a wait loop before starting the 4A binder: * wait for bluetooth module to be loaded * wait for bluetooth controller to be up & running * wait for bluetooth manager to be initialized Then 4A can start with BT-audio support. If no BT controller is detected in 5secondes, the loop exits and 4A doesn't initialize BT-Audio Bug-AGL: SPEC-1762, SPEC-1763 Change-Id: Ibe851dee871d183511c7bca03411b35ed023f422 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-08-31set LIBASOUND_THREAD_SAFE=0 for 4aThierry Bultel1-0/+1
Since the integration of bluez-alsa support in softmixer, and as warned by the readme of bluez-alsa, there are potential (and effective !) deadlocks in libasound. These deadlocks come especially when uing ioplug PCMs. This hack disables the calls to snd_pcm_lock/unlock in libasound. Notice that the design that consists in using such PCM plugs for communicating with the bluealsa daemon is just a short term solution. When the direct support of bluezalsa communication is integrated in the softmixer, that hack should be removed. Change-Id: Ib6376fd2e145b3240ab1a68b9c760ff9e4c063c4 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-28meta-audio-4a-framework: align on eel with latest components revisionsStephane Desneux1-2/+6
This bump is based on recipes coming for eel branch (revision e029270): In 4A layer, we now have: * 4a-softmixer: SRCREV = "731c21e80ba45339b7dd9b8eae63accd3597d281" * 4a-hal-unicens: SRCREV = "${AGL_APP_REVISION}" * agl-service-audio-4a: SRCREV = "${AGL_APP_REVISION}" * 4a-hal-generic: SRCREV = "8142c7ed42167dff7e526952f91909d679453251" * 4a-mixer: SRCREV = "${AGL_APP_REVISION}" * 4a-alsa-core: SRCREV = "${AGL_APP_REVISION}" Change-Id: Ib5708e9551f0646e0206deac8795f3b09f5a0569 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-11-28Change 4A PCM Nameronan1-0/+3
* Update Policy level of each pcm * Fix Pulseaudio start * Add 4A module config to pulse audio SPEC-1140: we need to have orderer PCM list in file 90-4a-modules.pa, to fix pulseaudio startup. (From lower to higher). Bug-AGL: SPEC-1136 Bug-AGL: SPEC-1103 Change-Id: I847711d9076a0d9817176a5cc3dee823476d8703 Signed-off-by: ronan <ronan@iot.bzh>
2017-11-26Fix recipe not using AGL_APP_REVISIONJan-Simon Möller1-2/+2
Recipes need to use AGL_APP_REVISION (for apps) and AGL_DEFAULT_REVISION (for non-apps) respectively instead of plain AUTOREV. AGL_APP_REVISION / AGL_DEFAULT_REVISION will default to AUTOREV in normal operation until a release is cut in which case we will put in the tag. See conf/distro/poky-agl.conf Change-Id: Ib346e9c9bd118d245cccbec3c4bbd3c99e1ec457 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-24agl-service-audio-4a: Fix issue when --verbose is repeatedJosé Bollo1-2/+2
Change-Id: Ic949f35e0f4fa29fc24ae69b443965f8f1ac99f8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-21agl-service-audio-4a: Update the fix for new AFMJosé Bollo1-2/+5
The new version of the framework makes more use of system units. This patch has 2 effects: - it doesn't stop the system forever in case of error implying the lose of the awaited files - it accepts the service file to reside in either system or user scope Change-Id: I7bd8a38811a9f0dccddcf922a330ed15b652ccc3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Initial integration of 4A (AGL Advance Audio Agent)Stephane Desneux1-0/+33
This is a move of the work done initially by Ronan Le Martret <ronan.lemartret@iot.bzh> in https://gerrit.automotivelinux.org/gerrit/#/c/11651/ Change-Id: I3c2124b186e72fd9804ff713b22a36a93283650e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>