summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
AgeCommit message (Collapse)AuthorFilesLines
2018-07-164a-mixer: use PREFERRED_RPROVIDER for virtual/mixerStephane Desneux1-1/+1
This removes ambiguity on the mixer choice when 4A is enabled. The warning seen at the beginning of bitbake also disappears: ------ NOTE: Multiple providers are available for runtime virtual/mixer (4a-mixer, mixer) Consider defining a PREFERRED_RPROVIDER entry to match virtual/mixer ------ Bug-AGL: SPEC-1520 Change-Id: I2fb9173f4616dc3d26ce5bc11f1c1686179d0456 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-13Fix 4a-mixer parsing error on nogfx build variantJan-Simon Möller2-0/+11
The nogfx build variant fails with 4a enabled ( https://gerrit.automotivelinux.org/gerrit/#/c/15051/ ) This is documented in SPEC-1588. To fix this we apply a conditional inclusion in meta-audio-4a-framework to only pull-in the mixer if we are including meta-agl-demo. Can be more fine-grained (profile-graphical-qt5 maybe) later. Bug-AGL: SPEC-1588 Fast inclusion requested as it is a blocker for RC2 due to enabling 4a in CI. Change-Id: I59b82748ba8e1736358318373d29f8f9fed2a5c5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-11Fix bash on install script typoRonan Le Martret1-12/+12
Change-Id: I12e5367a62d2acba3596ea066cd67363c6fc8626 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-11Merge "4a-softmixer: bump to latest revision (APIv3)"Stéphane Desneux1-1/+1
2018-07-104a-hal-generic: bump to latest master versionJonathan Aillet1-1/+1
(08b6e71 - Jonathan Aillet) Update binding entry for app-fw v3. (a7eeeb6 - Jonathan Aillet) Set binding api version directly in top cmake (18f6ad3 - Jonathan Aillet) Update version of app-controller submodule. (d4aa279 - Jonathan Aillet) Add hal for intel qemu audio configuration (28b6e03 - Jonathan Aillet) Simplify ping verb call print output (47fb191 - Jonathan Aillet) adjust CONTROL_CONFIG_PATH to point to .../etc (143ed9c - Jonathan Aillet) Update version of conf.d/app-templates submodule. (3a48206 - Jonathan Aillet) Don't handle hal enabling (c1d823e - Jonathan Aillet) Update version of conf.d/app-templates submodule. (940a67c - Jonathan Aillet) Update version of app-controller submodule. (f2a6c47 - Jonathan Aillet) Update version of afb-helpers submodule. Bug-AGL: SPEC-1405 Change-Id: Ic8e00eeca3028f1b2b623499a66f39deedfcc684 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-104a-hal-generic: MACHINE-specific HAL config filesJonathan Aillet1-0/+28
This patch adds a postinstall step to 4a-hal-generic recipe to define HALs to be enabled/disabled depending on $MACHINE As a consequence, 4a-hal-generic package is now machine specific. Bug-AGL: SPEC-1405 Change-Id: Ibf418d71e898c3f9a2640b2ad4c8f4907bc5cb90 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-104a-softmixer: bump to latest revision (APIv3)Stephane Desneux1-1/+1
This includes changes that allow the build of softmixer using APIv3 and latest submodules. Bug-AGL: SPEC-1405 Change-Id: I627958ee5dfc8f2254d0df833418e64e4a14ab96 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-03Revert "meta-audio-4a-framework: add INCLUDE_LEGACY_BINDING_VDYN to af-binder"Stephane Desneux1-5/+0
This reverts commit 3c7785ecb9f69c62bad390e0395d122cf825a819. Runtime tests on 4A lead to the conclusion that porting to APIv3 must be done. So compatibility with legacy mode vdyn must be dropped for upcoming versions. Change-Id: Ifdc1025a8fea1eaa79c3d2bc8a24083bd970391f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-29meta-audio-4a-framework: add INCLUDE_LEGACY_BINDING_VDYN to af-binderflounder_5.99.1flounder/5.99.15.99.1Stephane Desneux1-0/+5
INCLUDE_LEGACY_BINDING_VDYN is mandatory to re-use bindings developped for EE. Bug-AGL:SPEC-1546 Change-Id: I5f95bfb2cb817cf52a18a1820e223c0e776c2d6d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-29Merge "alsa: add http mirror in the backported alsa recipes"Jan-Simon Moeller4-0/+16
2018-06-29alsa: add http mirror in the backported alsa recipesGeorge Kiagiadakis4-0/+16
Unfortunately ftp doesn't work for me (looks like a firewall issue) and the default poky mirror at http://downloads.yoctoproject.org/mirror/sources/ doesn't contain alsa 1.1.6, so the build fails. I think this will be useful to other people with firewall issues. Change-Id: Ic6744f38ac8c007ed99b69fb410526b6c4ca8733 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2018-06-29meta-audio-4a-framework: bump 4a-softmixer and 4a-hal-generic to latest revsStephane Desneux2-2/+2
This fixes the build issues with latest version of appfw binder: * 4a-hal-generic: (90cae7b) Update version of app-controller submodule. * 4a-softmixer: (1065a98) Update version of app-controller-submodule submodule. Bug-AGL: SPEC-1405 Change-Id: I476ad4aaed1f0670a558a26eb6a4b589d7840e9d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-29meta-audio-4a-framework: backport alsa 1.1.6 from poky/masterStephane Desneux8-0/+451
Backport alsa 1.1.6 from poky/master (commit c7c64baa411fd96886918c235b851ae3e5a6a61f) because softmixer requires latest alsa-lib version. Bug-AGL: SPEC-1545 Change-Id: I210daad821a136d2fe05636f6387f2d4c68c76e1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-28meta-audio-4a-framework: align on eel with latest components revisionsStephane Desneux9-69/+58
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>
2018-06-06First 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>
2018-03-23Add bluez-alsa to 4a-framework featureRonan Le Martret1-0/+1
Change-Id: I13774f47636c2a23c7f772ec1f7a0abf2245ec9c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
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-28Merge "Remove event from asound config file"Jan-Simon Moeller1-84/+0
2017-12-27Merge "setting Emergency and Warning to Pause lower priority streams"Jan-Simon Moeller1-2/+2
2017-12-26Remove 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-21setting 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-sinkRonan 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-014a-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>