summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11Supporting commits for the switch to pipewireJan-Simon Möller38-1941/+0
We move all components around meta-audio-soundmanager-framework to that layer (still kept on request). We deprecate the meta-audio-4a-framework layer for Happy Halibut. Bug-AGL: SPEC-2473 Change-Id: I2a7c9d815801a3f8ea80943165ea6fd1422533ea Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-224a-hal-generic: bump to latest revisionJonathan Aillet1-1/+1
Included change: * 0c4921b Updates for latest alsacore changes BUG-AGL: SPEC-2434 Change-Id: I7748492ee841d2bf8da0bed13f3e39666702e04e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-05-224a-alsa-core: bump to latest revisionJonathan Aillet1-1/+3
Also add a new dependency to 'libafb-helpers' from the included changes. Included changes: * 9b71be0 Improve tests for 4a-alsa-core * b8af262 Rework ALSA card get info function * 4eb02cc Rework ALSA control set/get function * b04cb5e Improve prints when setting values of control * 056aa12 Send back cardid only if request is valid * 0219aa9 Improve ALSA control creation * 980a8f0 Fix dbScale generation when adding custom control BUG-AGL: SPEC-2435 Change-Id: I4e9a7f91be98ad157899ed864ae47f2c383514dd Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-05-144a-hal-unicens: Library dependencyFrederic Marec1-1/+1
As the "controller" and "helper" aren't any more submodules but in libraries, it is required to add the dependency in the recipe. Bug-AGL: SPEC-2139 Change-Id: Ibd6d2e3693780f8e8f571679009e65c55a19906e Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-02agl-service-audio-4a: Dependency to appcontrollerJosé Bollo1-2/+2
As the "controller" isn't any more in a submodules but in a library, it is required to add the dependency int he recipe. Bug-AGL: SPEC-2139 Change-Id: Ia629faf627310ee8ae9de363fd1fbc30f4c55f31 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-10Update avirt kernel module and libavirt userspace libraryMark Farrugia4-24/+32
Update the avirt core kernel module and the accompanying libavirt userspace library to the latest releases. The key new feature is a completed and finalized audio path routing system, enabling audio routing at the kernel level. Change-Id: I69eaa578390f4ba67ad71506c359276bee252b19 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-09Upgrade to thudScott Murray15-478/+23
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Disable pulseaudio-module-4a-client for now as it does not compile against PulseAudio 12.x - Remove meta-audio-4a-framework/recipes-devtools/python/python3-websockets_4.0.1.bb as it is superseded by upstream - Add OECMAKE_GENERATOR = "Unix Makefiles" to 4a-alsa-core, 4a-hal-generic, 4a-hal-unicens, and 4a-softmixer recipes for now to work around CMake+ninja issue - Remove alsa 1.1.6 recipes from meta-audio-4a-framework/recipes-multimedia/alsa as they are superseded by upstream. Local changes to the alsa-plugins recipe have been implemented in a bbappend. Known issues: - pulseaudio-module-4a-client has been disabled - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR Bug-AGL: SPEC-1837 Change-Id: I5355e9f74e2385a093ca21cda5bd52a80e1a6e67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-28meta-audio-4a-framework: meta-agl-demo: recipes-multimedia: 4a-mixer: add ↵raquel medina1-0/+1
new dependency on afb-helpers-qt 4a-mixer recipe needs to be updated before 4a-mixer source tree to avoid breaking the build. Bug-AGL: SPEC-2164 Change-Id: I2dfb350f5f46d53b44f56127bdae6dcfc92c8153 Signed-off-by: raquel medina <raquel.medina@konsulko.com>
2019-03-134a-softmixer: fix HOMEPAGE urlStephane Desneux1-1/+1
4a-softmixer migrated from github.com/iotbzh to gerrit but HOMEPAGE url was not reflecting the change. Change-Id: Idf0e6c0079c82af7444f7040526a4d80ba7c1c88 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-254a-hal-configs: bump to latest versionThierry Bultel1-1/+1
this brings these commits: * fdf0e3c intel-upsquared: fixed the bluetooth SCO with an optional mic * 816e97e intel-minnow: fixes the bluetooth SCO with a optional mic * 005877c 4a-hal-configs: update unicens configs Change-Id: I4f6ebbed11b29e491068b708c1aaf3a155dcc9d5 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-02-254a-softmixer: bump to latest versionThierry Bultel1-2/+2
Adds new dependencies in the recipe, and brings all these commits: * 943f34b loops/avirt: forget saved loops after creation * d31ba24 Revert "avirt: restore the avirt submodule" * 7e3e4db avirt: restore the avirt submodule * 419c8f3 plug route: added a calculation for the number of physical channels * a9408d3 streams: improved log output * 396da16 core-pcm: fixed channels setting issues * c9fb698 core pcm: use the same model for writing and reading audio * 297aa83 pcm plugs: rework the alsa config cleanup * c0c670a alsa-api-pcm: added an 'optional' parameter * edeccfc alsa-transaction: simplify the cleanup * 0e9718e alsa-api-pcm: added support of quirks * e3209c8 Merge "alsa-utils-dump: added missing ending null char" |\ | * 1c0ae80 alsa-utils-dump: added missing ending null char * | d5ac697 Add support for AVIRT |/ * d5cc09d Git submodule migration to separated libraries Change-Id: Ia3766b85534f958b59df0ab6cc1369d131cdf4e5 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-02-254a-hal-generic: bump to latest versionThierry Bultel1-1/+1
This brings the following commits: * 974f211 .gitignore: added wildcard for build directory * 487b3e3 bluealsa plugin: do not do anything when the HAL is not ready * 6c55f92 bluealsa plugin: get the sampling rate from the transport * 24391a4 hal-bluealsa: fixes the abort due to sync call in io event Change-Id: Iac12b1059c82a1812d665491b20c213fa7e72230 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-02-184a-mixer: Fix buildScott Murray1-2/+1
Update DEPENDS for switch to using qtaglextras library. Change-Id: Iefbde24c1d6c55a7cc541e2a810f19fe13049b3c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-13bluez-alsa: added a patch of bug fix in the ioplugThierry Bultel2-1/+37
This adds an early patch for fixing the "stuck poll" issue when using the PCM ioplug. This patch has already been discussed with the bluez-alsa maintainer, and submitted as a pull request: https://github.com/Arkq/bluez-alsa/pull/184 Change-Id: I3cec6625b501025286878d9da2c782014b224d41 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-02-12Add recipe for libavirtMark Farrugia1-0/+19
The libavirt library is used to interface with the ALSA Virtual sound driver (AVIRT) from user-space. Users can dynamically create audio streams and PCMs from user-space using this utility. Change-Id: Ib294911722c8fd1a064022bafd2c1123c0869b92 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-02-064a-hal-generic: bump to latest revisionStephane Desneux1-1/+1
Included changes: * fbad8c2 bluealsa plugin: monitor the state of service via dbus * 2b558bb Migrate to newer application framework calls * 20a22fa Migrate app-controller from submodule to library * 9f6a13d Migrate afb-helpers from submodule to library * 756f8d0 Move from controller functions to afb functions * 524ad81 Create 'halmap' ALSA controls events earlier * 9ea8f82 Add event to indicate hal stream changes * 5f5c1a6 Improve stream creation/deletion functions * e3f74a9 Use linked-list to handle hal stream list * 4f44ee8 Turn '4a-hal-utilities' into an internal library * a93c356 Use latest version of app-controller submodule. Bug-AGL: SPEC-2126 Change-Id: Ifa67610bc908d3fbdd9862f2d0b6466260271d56 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-064a-hal-generic: add missing dependency to afb-helpers and libappcontrollerStephane Desneux1-1/+1
This new dependency is needed because 4a-hal-generic doesn't use submodules anymore for helpers and controller. Change-Id: I25125416d765cf1d4adc0a3e33d13accc21701ee Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-014a-softmixer: bump to latest versionThierry Bultel1-1/+1
This brings the following commits: 67299f9: bluetooth sco: fixed the softvol open error e28d321: Prevents setting of ALSA controls out-of-range 739ff0e: Correct sent back stream volume Change-Id: I5d22f3b76693810c0327e404dc7898e23bebe7b9 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-02-01bluez-alsa: updated patches due to latest bumpThierry Bultel6-269/+211
This updates the needed patches for 4a. The latest bump (version of 2019-01-17) has make one of the previous patch obsolete (SIGSEGV when closing the PCM), thus the patch has simply been removed. Also add a patch for having bluez-alsa request a name on dbus. BUG-AGL: SPEC-2126 Change-Id: I351b55e0d440f8f271ccb14a0d51111570659026 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-01-244a-hal-device-config: bump to latest revisionguppy_6.99.4guppy/6.99.46.99.4Stephane Desneux1-1/+1
The following changes are added: * 23bc19d hal-4a-intel-minnow: fix incorrect master volume control Bug-AGL: SPEC-2138 Change-Id: I7fa31913413e482bb6a428fa006f7ee74188345b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-064a-mixer: quiet debug messages in non-develScott Murray1-0/+2
Define QT_NO_DEBUG_OUTPUT when not building with agl-devel enabled to quiet the debug logging on volume changes. Change-Id: I4c4422ee0232530bba1e655887829a8ccc661a23 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-01-054a-hal-device-config: bump to latest revisionStephane Desneux1-1/+1
Changes included: * d651952 hal-4a-unicens: uses the renamed plugin Change-Id: I13bbf00dbdca792f385ca536f69ed127d8e1925f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-044a-softmixer: bump to latest revisionStephane Desneux1-1/+1
New changes: * 1103db2 bluetooth: fixes the cleanup at SCO hangup * c85fd2f Implemented the bug cleanup at application exit Change-Id: I9f0869e6f34f70816d20c9f8155ffd304687d51e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-26bluez-alsa: Added a patch to fix the crash at PCM closeThierry Bultel2-2/+181
This fixes the random crash at PCM close Change-Id: I373e4b7e55d6d7d4c3be4a4a7a9f460c00758215 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-204a-softmixer: add missing dependency on liburcuguppy_6.99.3guppy/6.99.36.99.3Stephane Desneux1-1/+1
Change-Id: If46cb938504f47456d106be4f3cd59c1407a9b6f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-hal-generic: add missing dependencies on bluez-alsa and liburcuStephane Desneux1-2/+2
Change-Id: I4efd9ad4b4d4653706a2038cd9770578f81544fe Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-hal-generic: bump to latest revisionStephane Desneux1-1/+1
This includes the following changes: * 01d55ed Adds support for bluetooth audio through bluez-alsa * dbe555b Remove old comments not true anymore * ef3b6e3 Update version of app-controller submodule. * f278417 Add halmap controls events generation for all hal * ec6351b Add streams events generation for each hal * a480485 Rework calls to mixer streams * ecb0392 Add 'halmap' controls in hal 'info' verb response * f741fc8 Add setting values of a ALSA control using a +/- * cdbaaf3 Send back control previous and current values * 3aa9dec Send back control current values if no request json * 07c240d Add a function to get values of an alsa control * 03776c5 Improve ALSA controls volume values conversion * a34509b Update syntax of a request of an halmap verb * 86a1b87 Typo fix in halmap call response * cb1dfa9 Correct halmap calls request json syntax * be74611 Move hal configuration files into 4a-hal-configs repository * 265d86d Add master branch into .gitreview file * 4b299e6 Merge "Add autobuild to top tree" |\ | * 55561d8 Add autobuild to top tree * | 2a0c79f Move hal controls actions at the end of hal init |/ * 7db42de Add tests for 4a-hal-generic * d3c0253 Change .gitmodules following submodule migration * 3c2fbe2 hal-bt : Each plugin has its own data structure * 226aa0f Use new ctl functions to set/get ctl external data * 71a57c4 Update version of app-controller submodule. * 32b4b5c Force each hal to have its own ctl section data * be188c3 Use ctl defines to call afb functions * cabdc82 Add .gitreview to 4a-hal-generic * 50be438 Migrate app-templates to CMake module Change-Id: I94fca26ecfbad784500230b3183f1e2e187c62e9 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-hal-device-config: bump to latest revisionStephane Desneux1-2/+2
The following changes are in: * d6d9822 bluetooth audio: uses the new bluealsa plugin * 6fdd9c5 Change the control name to be the same everywhere Change-Id: I9ecff909244d3b3ea751fcdc84da624bd68f83ba Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-alsa-core: bump to last revisionStephane Desneux1-1/+1
This includes the following changes: * 985df9f alsaSetGetCtls: fixed a memory leak * 25e4773 Move autobuild to top tree * 838192f Add test for 4a-alsa-core * 2a9a1b6 Change .gitmodules following submodule migration * 6a6963c Migrate app-templates to CMake module Change-Id: Id5344ff70e2c5d30c55be3f40ffaf6ad2b5ef880 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-softmixer: bump to last revisionStephane Desneux1-1/+1
The following changes are now in: * e0f57e5 Add support for bluetooth telephony * 7df040a Move autobuild to top tree * bab2030 Add tests for 4a-softmixer * 44e34ee Update version of app-controller-submodule * 8135317 Change .gitmodules following submodule migration * 6f89839 Add gitreview file to 4a-softmixer repo Change-Id: I0674f2852f4d27c27ecd6e7086a9fc45ca9a11b0 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-204a-mixer: bump to laster versionStephane Desneux1-1/+1
This introduces the changes: * d32d36b Reworked the way qml create sliders * f8da591 Fix indent using tab instead of spaces * 1b8ad36 Handle the volume_changed event * 09f1cb7 Fix json format changed since v3 * 1406acd Modify graphic role * dc32441 Merge "delete application_name check in tap_shortcut event" |\ | * f2d1e14 delete application_name check in tap_shortcut event * 23736fb Migrate app-templates to CMake module Change-Id: I4238178d06cf7657d8bdfabd5cad56e4fd8082ce Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-20bluez-alsa: removed the PCM hack, and build a shared libThierry Bultel6-1063/+924
This removes the deprecated PCM proxy hack, and brings mandatory features for the softmixer. This change applies on top of the latest bluez-alsa master of 2018-12-04 and brings 3 patches: 1) builds a shared library and links bluez-alsa and ioplug controls & pcm to it. 2) func log by default 3) increase the number of max connections from clients (pcm & ctrls) ----- Upstream status for the patches: 1) pending. Based on a submitted PR that is not clean enough and that the maintainer does not want to take before at least 6 months https://github.com/Arkq/bluez-alsa/pull/95 2) pending. Was submitted as part of the Ofono support in bluez-alsa, but was not retained. See the original PR for Ofono for that. 3) pending. The maintainer is OK with this but wants to refactor the client-server protocol in the coming months. In a private mail of 12/06/2018: "Yes, you can increase this hardcoded limit as a temporary workaround. I've put in there (and made it rather low) as a reminder, that clients are stored in the list, which might not be optimal for larger number of connected clients. In the future bluealsa will support audio mixing, so connecting many clients to a single transport will be a common case. So, I've thought about incorporating more efficient structure for storing (in particular searching) connected client - something with log(n) search complexity. Then, it might be worth to implement this container to be dynamic with an upper capacity limit (which might be high, like 200-300 clients)." Change-Id: Ia771613a7a83cc9ed6108399cdaacdeda603d39b Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-19move 4a-hal-unicens (plugin) to gerritTobias Jahnke1-4/+4
Bug-AGL: SPEC-1505 Change-Id: Ia9e2098ecaede966a49e9926a915c31dc7470813 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2018-12-14Bump snd-avirt revisionMark Farrugia1-1/+1
Crucial fixes, including cure for potential kernel panic crash Change-Id: I3d163e1a5a1c387d09481d162f748e3b63c288d2 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-12-07Move hal configuration files into own repositoryJan-Simon Möller10-33/+182
... and own recipe This allows to manage the various types of configuration files independently of the source code as these might not always fit into the git repo context-wise. Initial recipe is 4a-hal-device-config.bb . This is re-using the same mechanism as previously used. Samples for alternative implementations and vendor hals are included as well to explore improved ways of handling the multipe configuration files possible. Bug-AGL: SPEC-2011 Change-Id: Ib04b5c4e7b764bed85dbceb50a62a8c6fd031c5a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-30Change 4a-softmixer SRC_URI to gerritguppy_6.99.2guppy/6.99.26.99.2Jan-Simon Möller1-1/+1
Change the softmixer SRC_URI to gerrit. Change-Id: I54e78d80a83e9ff7e8726ecd803ec10eb8dbdc70 Bug-AGL: SPEC-1731 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-294a: adjust 4a_wait_bt.sh due to changes in bluetooth-manager APIStéphane Desneux1-2/+2
The verb 'power' is now replaced by 'adapter_state'. The response object is also different (no compatibility with older API). Bug-AGL: SPEC-1630 Change-Id: I2e08c33e2936d93cfdec0c498570c77177a4b81e Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2018-11-28hal-unicens: bump unicens hal to newest versionTobias Jahnke1-1/+1
Bug-AGL: SPEC-1505 - enables audio to unicens sound card - cleanup of plugin implementation - removed legacy stream, pcm playback volume - ensure init success to allow loading the plugin Change-Id: I0d7afd1c76d2b913e3684bbbcbc599f315061d85 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2018-11-234a-hal-unicens: add HAL for unicensguppy_6.99.1guppy/6.99.16.99.1Tobias Jahnke2-6/+18
Bug-AGL: SPEC-1505 - enabled 4a-hal-unicens recipe again - updated srcrev of github repo - modified project name to match install folder Change-Id: I9afa86afa602845bf783a41b09f590344f26c095 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2018-11-22bump softmixer to latest version (bug fixes)Thierry Bultel1-1/+1
This bring these commits: b678f3 config.cmake: bump the needed version of alsalib to 1.1.6 a84a93 Remove an unfilled response json object a07c4c removed the dependency to alsalib-1.1.6 for host 70fb34 Lower the verbosity when not in debug level b34cd9 Migrate app-templates to CMake module 58d666 Merge pull request #2 from iotbzh/app-templates-migration 03aa71 config.cmake: fixed a typo ca6383 alsa-core-pcm: fixed the mute logic 0e37ab Tweaking debug prints 92e038 Handle too small card PCM buffer when writing a17d52 Fix the error string of attach actions 118377 remove dead code and renamed unobvious variables Change-Id: Ie3e922f423ec9d6ba38c35263183d0e9143e5958 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-11-20Add initial recipes for snd-avirt driverMark Farrugia5-0/+132
The snd-avirt driver will provide an enhanced, dynamic ALSA loopback interface for 4a-softmixer, and provides the audio framework for low-latency audio hardmixers such as the Fiberdyne DSP onboard the Xtensa HiFi2, and the UNICENs Fiberdyne smart amplifier. Included are backport patches for kernels 4.12 and 4.9. Change-Id: I8b23507d7179d10dfa70b7f2f899db4534690392 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-15Add cmake-apps-module dependencyRomain Forlot1-1/+1
This fix bindings installation when they don't use the aglwgt main class Change-Id: I0868e0c6df757c5025fc4f9d21e46f8441646506 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-09meta-audio-4a: remove UNICENS legacy halTobias Jahnke2-2/+1
Bug-AGL: SPEC-1505 - Remove UNICENS legacy hal from build until the new hal plugin is available - Remove ldpath which was required to load the legacy hal (avoids binder startup error since the path is no longer available) Change-Id: If25094d4f944e887fed0ed10c5cae8049ce6db82 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2018-10-13Bump 4a-hal-unicens to latest revisionJan-Simon Möller1-1/+1
Include the update from Tobias Change-Id: Id60efedc0b65dba8d5caf8c1a2455378e6c4435b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-094a: Use '4a-hal-generic' gerrit repositoryJonathan Aillet1-3/+3
Use '4a-hal-generic' gerrit repository instead of github one. Bug-AGL: SPEC-1405 Change-Id: I08f6db8b3e339520dfc21410db0627dc6f7c3a86 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-024a: Update 4a-hal-generic for UpSquared boardJonathan Aillet1-2/+2
This commit bump '4a-hal-generic' to have Intel UpSquared hal available in ./4a-hal-generic/etc.available/. An update of the recipe is also made to automatically deploy Intel UpSquared hal in ./4a-hal-generic/etc/. when compiling AGL for 'intel-corei7-64' platform. * a94119d Correct typo in Intel UpSquared hal * 2b64aed Update clone commands in README.md * 4a2672a Update 'halmap' section of Intel UpSquare hal * 424263f Merge pull request #2 from dominig/master |\ | * a35e146 4a hal for Intel UpSquare via HDMI socket |/ * 226f16b bluetooth: set audio rate to 44100 Bug-AGL: SPEC-1751 Change-Id: I31d8e9845b50bf59f514eb10f54ee950a0d42e9a Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-09-284A: delay service startup as a workaround to SPEC-1762/SPEC-1763 (temp ↵Stephane 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-09-264a: Update 4a-hal-generic for bluetoothJonathan Aillet1-1/+1
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>
2018-09-134a: Add Bluetooth in 4aguppy_6.90.0guppy/6.90.06.90.0Jonathan Aillet2-2/+2
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>
2018-09-11bump 4a-softmixer to the latest versionThierry Bultel1-1/+1
This brings this commit: 13fd8b9 bluez-alsa: fixed the null device logic Change-Id: I921b7e14611c5d81f6caede36b00aed0633aa5ce Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>