Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
This commit bump '4a-hal-generic' to have bluetooth enable by default.
* 49a750a hl-bt: Check that hal is available in init
* 7e5def8 hal-bt: Use plugin name definition in prints
* 94b3f13 Move hal sections callbacks after plugin callback
* b3bcfa3 Update version of app-controller submodule.
* bd3eacc hal-bt: Enrich 'halmixer' section in plugin init
* afbfe30 Remove unnecessary sections in hal json
* 805d820 Update version of app-controller submodule.
* be77f4a hal-bt: Use plugin name in onload/init prints
* 69dcbdc hal-bt: Check presence of a bluetooth receiver
* 5286e67 hal-bt: Move bluetooth api require into init
* 0b3aa49 Move mixer attach into its controller section
* 1e97df9 Remove unnecessary 'function' string in prints
* 69b46ba Update version of app-controller submodule.
* 09886e3 Added radio stream to all the HALs
* 2bb89c9 kingfisher: merged the radio HAL into the main HAL
* 22836af Add ctl actions needed by Hal-Bt in plugin init
* 2a74ac8 Update version of app-controller submodule.
Bug-AGL: SPEC-1679
Change-Id: I50ad36b3a04014b415d18828267b98ee8b9be246
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
This commit bump '4a-hal-generic' and '4a-softmixer' to support
bluetooth in 4a.
4a-hal-generic:
* 9663aa7 Add hal json with bluetooth for reference boards
* 4d00451 Handle error send by Bluetooth-Manager
* 78a4665 Get bluetooth device interface from path in HalBt
* 65cd769 Correct a typo in debug print of Hal-Bt plugin
* 63e018e Prevent segfault when receiving request in Hal-Bt
* 75bf441 hal-bt-data: ignore devices with no UUIDs
* a20f6e4 Free afb call sync json returned object in Hal-Bt
* b112013 Improve Hal-Bt print messages
* c2c29ef Improve Hal-Bt plugin A2DP bt devices detection
* 50ae4e9 HalBt plugin keeps list of connected A2DP devices
* 57f4078 Use correct file to include controller
* e6472ad Improve Hal-Bt plugin event catcher behaviour
* 4ce9b2a Prevent Hal-Bt plugin from crashing 4A
* 342913c Correct an error in Hal-Bt when calling 'mixer'
* 509f6b1 hal-4a-rcar-m3-bt.json: removed the plugin search path
* 43820da hal-bt! display error messages of sync calls
* 43577d8 Update version of conf.d/app-templates submodule.
* 05238f6 Update version of afb-helpers submodule.
* 916b0f5 Implement link with softmixer in hal-bt plugin
* fae4cf3 Get hal data in hal-bt plugin
* 6ea2ba2 Test afb require result at hal-bt plugin load
* 8f3ead9 Add handling of hci and profile in hal-bt plugin
* 5fceccb Fix little mistakes/typo in hal bluetooth plugin
* 3524254 Force hals init before ending hal-manager init
* 5446354 Decrease level of a msg printed in event catcher
4a-softmixer:
* b678f39 config.cmake: bump the needed version of alsalib to 1.1.6
Bug-AGL: SPEC-1679
Change-Id: I8eb5efb404c531339ba5668a1bf131368a233b8f
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
This brings this commit:
13fd8b9 bluez-alsa: fixed the null device logic
Change-Id: I921b7e14611c5d81f6caede36b00aed0633aa5ce
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Alsa devices mapping on Minnowboard Max has changed since the
initial HAL definition and multiple subdevices are now seen on HDMI card.
These changes must be reflected in 4a-softmixer and HAL definition.
Other fixes for upcoming BT support are also included.
New revision for 4a-softmixer includes:
* 9c0aa9f fixed crash upon misconfiguration of capture/playback devices
* 168e928 dmix: used device when in name of slave
* 80deafb Added bluez sound playback support
New revision for 4a-hal-generic includes:
* 9276521 minnow board: fixed the pcm device in json config
* be379b3 Use latest version of app-controller submodule.
* f5113a0 Add bluetooth hal plugin
* 33bc780 Remove unnecessary 'struct' before json_object
* 9ab8302 Correct an error when unpacking alsacore response
* 1ef27b6 Correct errors in hal-utilities-data prototypes
Bug-AGL: SPEC-1692, SPEC-1679
Change-Id: Ie99d6cd7dd13fd27b095e2de7c7160dc92890c98
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
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>
|
|
Change-Id: Ie6c96000db81c0d439b326d55dc6eb250f91f679
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Change-Id: I2b9661423bcce6da82566e8e44dfd06208f5d381
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
|
|
This includes:
* ded8e37 Bump revisions for all submodules
* a226d89 Reduce verbosity of message "readThreadEntry..."
The latest commit ded8e37 on 4a-softmixer might help to solve SPEC-1639.
Bug-AGL: SPEC-1639
Change-Id: I07d5e227a108565d7a8732289bef64cb611d3f1f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
* load module-4a-client if available
* load some other necessary functionality
* keep bluetooth support out for the moment (will not work with 4a)
* keep the original copyright and comments as it is a modified
version of the file shipped by upstream
Change-Id: I2915c161aadc3b1a1e82f81d3bd8a29a6ccc2cfb
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Change-Id: I40be2fb1f572c5275057e970782437bdf47e1887
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This takes these latest commits:
* 320d8f9 Updated the readme.md
* 1db3552 rework the sound capture & playback model
* 712b3a2 added ringbuffer and time utils
Change-Id: Ia2aaecd4761a37e1600394ff72dba5b81ffe37a4
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
* This was the alsa configuration files for 4A.
Now the pcm are dynamic.
4A-FF.RC2
Change-Id: Ia72752d9721daa917d46e5a9cfe802c93c15c52f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
This patch introduces the following changes on 4a-hal-generic:
* e949092 hal-4a-raspberry-pi-3: add a WARNING related to RPI3 sound driver bug
* 01d3370 Correct 'volume' control in Minnowboard hal
* 7fea639 Add Raspberry Pi 3 HAL
* 2ce8a00 Correct error print when attaching to mixer
* c05faaf Update version of conf.d/app-templates submodule.
* 744af17 Update version of app-controller submodule.
* 39fda4b Update version of afb-helpers submodule.
* 492caab Remove trailing white spaces in radio config file
* 2ef5026 Added a radio to 2 channels playback .json example
Note that due to a bug in RPI3 sound card driver, no sound is produced
on RPI3 with internal card. 4A works on other devices (USB for example).
Bug-AGL: SPEC-1610
Change-Id: I14c581269945306e205808b53f9d5c7f60f8af88
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
* Backport python3-websockets from meta-openembedded
Change-Id: Ifa9d081df5adbbf4021f3da49b48f5b7c97b9fc5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
4a-tools contains tools, scripts and data to test the 4A stack
Change-Id: Ie445cd00fcb11ad079f325995f9f46c2d19e7700
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
The rule is to have apps/* repositories to use AGL_APP_REVISION
(tested in CI as apps builds in SDK) and to have src/* use pinned
revisions (tested in CI as image builds).
This commit fixes the recipes in 4a layer that were not following
the rule.
Bug-AGL: SPEC-1600
Change-Id: I81dd77a653a23adf45bdb0c6d969a3ad9ab849a9
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
This fix should be revert, if pulseaudio is remove from DISTRO_FEATURES
(as a option)
Bug-AGL: SPEC-1234
Change-Id: I68ce35a620a107d09a0fbe85cf05fe2abfb7902e
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Here are the changes:
afc7d62 alsa-core-pcm: sets sw start & stop thresholds
283bf0a stops the read/write loop when the stream is muted
Change-Id: I50cd5d8d798fec9ef303861df5eccb49094544f6
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
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>
|
|
Change-Id: I12e5367a62d2acba3596ea066cd67363c6fc8626
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
|
|
(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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
|
|
|
|
- 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>
|
|
Change-Id: If6e245c6ed9a5933a0c1eb7ca619d68bba99d8e0
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
|
|
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>
|
|
Change-Id: Ib9ce32c777ef7ad52e3cf000036aa8dd9cafc2a4
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
|
|
libxml2"
|
|
Bug-AGL: SPEC-1106
Change-Id: I2e17464bb5d9c7bb2ec4310d14a9d44839fc6db4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
* 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>
|
|
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>
|
|
|