summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
AgeCommit message (Collapse)AuthorFilesLines
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> (cherry picked from commit 370c5183bf1cc13ca8e0d2b50c7656175652de3e)
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-28Merge "4a-softmixer: bump to latest version" into eelStéphane Desneux1-1/+2
2018-06-28Merge "4a-hal-generic: Bump to latest version" into eelStéphane Desneux1-1/+1
2018-06-284a-softmixer: bump to latest versionThierry Bultel1-1/+2
Bug-AGL: SPEC-1533 This bump brings these commits: * 731c21e (HEAD -> master, origin/master, origin/eel, origin/HEAD, eel) Rework the pcm copy loop and save a lot of CPU * 7a02db1 plugins: code & log cleanup * b124cc0 pcm core: fixed spurious XRUN issues * aa13829 route plugin:fixed mismatch with several sound cards * f8a4899 set the correct number of channels in dmix * cf7b396 alsa-plug-vol: code & log cleanup * 38f7eb2 alsa-utils-bypath: code & log cleanup * 844108e .gitignore: ignore build with wildcard * 30b321a alsa-utils-dump: added log upon failing parameters retrieval * 407cfbe zones: fixed index mismatch when multiple sound cards are declared * 3e00731 alsa-api-mixer: code & log cleanup * 4c42a1d alsa-api-streams: code & log cleanup * 12c0873 sinks: fixed index mismatch when multiple sound cards are declared * 3b8dbd3 pcm: return volume value with null set request Change-Id: I50c36477f538dabe62f2011241c351ba4a1d64f4 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-274a-hal-generic: Bump to latest versionJonathan Aillet1-1/+1
* 81766dc Fix spelling in README.md * 51bb228 Improve hal list response from hal-manager * 2dfd4dd Remove boolean library * 38dcf50 Free json objects that should have been freed * 00a7499 Correct handling of incomming json messages * 9e0c0cf Authorize launching 4a-hal with no config file * 440cb8a Correct the request return when calling a stream * c422421 Delay event parsing to be the last * c42b631 Optimize alsacore event handler * 592480d Update Kingfisher json configuration files Bug-AGL: SPEC-1405 Change-Id: Ide6e0e7ac7b6473ef44d674eb445352ab13097b6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-27Create a 4a-mixer recipes providing virttual/mixerRonan Le Martret2-0/+42
* mixer and 4a-mixer are two different package. mixer used qmake workflow to build and 4a-mixer cmake. Bug-AGL: SPEC-1520 Change-Id: I82b2c2a871f8bc0691291749e844f01fb9d5d7e9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-06-20Remove duplicate config inclusion of 4a-sound.cfgJan-Simon Möller2-22/+0
After https://gerrit.automotivelinux.org/gerrit/14561 the kernel config is included in the toplevel config file (linux-agl.inc) to avoid changes to linux-libc-headers. Remove it here as discussed during ALS. Change-Id: I7db7ac34c73bc2eda95c04e0a3f7614ab9a4655e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-164a-softmixer: use correct channels count when creating PCMsStephane Desneux1-1/+1
This patch bumps 4a-softmixer to latest revision 6f06051. An issue with unicens card (wrong number of channels declared on target sound card) is solved by this commit. Change-Id: I1961d2b8cb6fece62fcc250661def1d153d629e6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-164a-hal-generic: new HAL for M3+KF and bump to latest revisionStephane Desneux1-1/+1
Added patches: * c81a825 Authorize empty response from mixer * 0558c1a Call onload section to before halmap section * a9a0a53 Correct typo in README.md * 4dc19cb 4a-hal-cfg-reference: add HAL definition for M3 on Kingfisher Change-Id: Ic4c063cc1f66289d63124dd9ab952d7d86f47e51 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-14meta-audio-4a-framework: bump recipes to latest revsStephane Desneux3-10/+6
4a-hal-generic now bumped to RC2 Use ${AGL_APP_REVISION} for all gerrit repos: * 4a-alsa-core/4a-alsa-core_git.bb:SRCREV = "${AGL_APP_REVISION}" * 4a-hal-unicens/4a-hal-unicens_git.bb:SRCREV = "${AGL_APP_REVISION}" * agl-service-audio-4a/agl-service-audio-4a_git.bb:SRCREV = "${AGL_APP_REVISION}" Use SHA1 for external (github) repos: * 4a-hal-generic/4a-hal-generic_git.bb:SRCREV = "25ec9ead44e7429b673a60d347a55d0086578e75" * 4a-softmixer/4a-softmixer_git.bb:SRCREV = "e173f942334e741714ac45924554552b5511de1d" Change-Id: Ic1215f9b0a786e9496ea448483c3a4b78be37c7e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
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>