summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
AgeCommit message (Collapse)AuthorFilesLines
2018-06-14meta-audio-4a-framework: remove unused recipesStephane Desneux2-51/+0
4a-hal-community & 4a-hal-reference are now replaced by 4a-hal-generic. Change-Id: I823e9df21c10ab23fc4c29b43c79879b197adfdd Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-144a-hal-config: remove unused (legacy) filesStephane Desneux1-5/+0
Some config files shipped in the first version of 4A are not needed anymore. Change-Id: I3707022444bb47f072f787a3e827cfe5a0f68d0f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-14agl-service-audio-4a: adjust binder startup for new halsStephane Desneux1-1/+5
With changes on 4a-hal-generic and 4a-softmixer, the --ldpath argument used when starting 4A binder must be adjusted to match new HALs. Also, the binder name now matters as the high level API will look for the policy file using 'policy-4a-*.json'. Change-Id: I5f848eb330a5917569f6f25f9bc15abef0ea4b2e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-13agl-audio-4a-framework: enable specific kernel configStephane Desneux2-0/+22
4A requires some specific options in the linux kernel, like CONFIG_SND_ALOOP for softmixer. This patch adds config fragments to the default linux kernel recipe only when feature agl-audio-4a-framework is enabled. Change-Id: I443219998652562e9aed963d4e835aa4de60e614 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-13Move to the last commit hashLoïc Collignon1-1/+1
The last commit hash rename the binding as it should be. Change-Id: Icdf2872bb236e2d6d9d711902ac51909f3bc3347 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-13Fix issue that prevent config file deploymentLoïc Collignon1-1/+1
The component was updated to fix a config deployment issue. Update the receipe SRCREV accordingly to make use of that fix. Change-Id: I44d139e5182c3fa293dc88a447fa387bb213c007 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-13Adapt audio packagegroup and template to use rewritten componentsJan-Simon Möller3-3/+4
Now we make use of the 4a-softmixer and 4a-hal-generic to drive the backend of the audio framework. This is the outcome of the audio F2F held in june. Also fix the license checksums in 4a-hal-generic and 4a-softmixer. Change-Id: Id709b0901228bdee86ab4b2bab395599365d00e0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-12Merge "Make use of the new high level audio api" into eelJan-Simon Moeller1-3/+3
2018-06-12Make use of the new high level audio apiLoïc Collignon1-3/+3
The new high level api is now available, it use the new hal manager and the new softmixer. Change-Id: I2be668151ec7c485337329dce4d87d27c1ffafa6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-07First recipes for 4a-hal-generic and 4a-softmixerJan-Simon Möller2-0/+48
During the F2F we're working on the integration of these two as a preview and getting it into ppl's hands. Change-Id: I5392664e1736b4505bf72cf3424e8372aa4a10b7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> (cherry picked from commit cf3716a3089b00279673cdc3f1cf65e741a7ae54)
2018-01-04Fix default.pa for 4aRonan Le Martret2-11/+23
- This file "default.pa" should be used with 4a. - 4a default configuration with AGL default audio roles was valided. EE-must-fix Bug-AGL: SPEC-1234 Change-Id: I4d1487efa182033ebff9c5153fa5e78920edaab2 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-12-27Remove event from asound config fileRonan Le Martret1-84/+0
- If alsacore policy emit a signal "sig-32" pulseaudio crash. Bug-AGL: SPEC-1110 Change-Id: I4352f9a634e610952189dc2947ca250b903bf413 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-12-27setting Emergency and Warning to Pause lower priority streamsDominig ar Foll Intel Open Source1-2/+2
Change-Id: If6e245c6ed9a5933a0c1eb7ca619d68bba99d8e0 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2017-12-21reduce the number of pulseaudio module alsa-sinkeel_4.99.5eel/4.99.54.99.5Ronan Le Martret1-6/+6
With too many module, pulseaudio may be crash at start-up. This should temporary. Bug-AGL: SPEC-1025 Change-Id: I99121e0ba6ae08f037aa481cb9fd3ba135d37a1e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-12-074a-framework: recipes-mulitmedia: rm recipe for agl-service-unicensChristian Gromm1-19/+0
Change-Id: Ib9ce32c777ef7ad52e3cf000036aa8dd9cafc2a4 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-29Merge "agl-service-unicens(4A): remove mxml recipes due to replacemet by ↵Jan-Simon Moeller5-97/+1
libxml2"
2017-11-28agl-service-unicens(4A): remove mxml recipes due to replacemet by libxml2Stephane Desneux5-97/+1
Bug-AGL: SPEC-1106 Change-Id: I2e17464bb5d9c7bb2ec4310d14a9d44839fc6db4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-11-28Change 4A PCM Nameronan5-37/+593
* 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öller6-14/+13
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-26Merge "agl-service-audio-4a: Fix issue when --verbose is repeated"Jan-Simon Moeller1-2/+2
2017-11-25agl-service-unicens: Use libxml2 instead of mxml.Romain Forlot1-1/+1
Following gerrit review 12109 and 12115, recipe also needs to reflect the migration. Bug-AGL: SPEC-1106 Change-Id: I7ad6b231cecc55139262c85a0a34e89405605f29 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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-17Adding hidden dependency to mxml for unicens bindingJan-Simon Möller1-0/+1
v2(jsmoeeller): remove unrelated changes Change-Id: I5e2387cdb3b9907b45059ca7ac898525e136eb19 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-164a-hal-reference: Tweak platform HAL packagingScott Murray1-3/+6
Tweak HAL build and packaging to build and ship the Intel HDA HAL for all the x86-64 platforms, and always build and ship the USB audio HAL. Change-Id: I22ff805eadc087495d17654c8eebff3be028f6cd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-15mxml: add to SDKScott Murray1-0/+1
By special request from Dominig. Change-Id: I67daba576ebae4d17683da677929a2086cdf4811 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-15Add agl-service-unicens recipesRonan Le Martret5-0/+115
* Add agl-service-unicens and 4a-hal-unicens to packagegroup-agl-audio recipes. * Add mxml recipes (dependency of agl-service-unicens). origin: https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-support/mxml/mxml_2.10.bb Change-Id: Ib62f0a3af74cd99bdf00d120b232c84be49875d8 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-15Merge "Update asound.conf.template"Jan-Simon Moeller3-44/+81
2017-11-14Fix runtime package conflict on asound.confJan-Simon Möller2-2/+2
alsa-state and 4a-hal-config both provides the same file. Fix the abstract provisioning by using the original flag VIRTUAL-RUNTIME_alsa-state = 4a-hal-config . v2: fix also RRECOMMENDS_pn-alsa-utils-alsactl v3: kill everything that might still pull-in alsa-state directly Change-Id: I0f4766ef996303ad0a1c74e3b19adcefd206a35a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-14Update asound.conf.templateRonan Le Martret3-44/+81
* add USB default HAL. Change-Id: I89a305baf9c4d8c412153a7bcf81f27a03202ee6 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-11Initial integration of 4A (AGL Advance Audio Agent)Stephane Desneux13-0/+366
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>