summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-20halibut: audiomixer: fix build commit to build the tip of the halibut branchGeorge Kiagiadakis1-2/+2
Change-Id: I189b9671ae433e4e4313c38c8a8dac78ebcd1fc4 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2020-01-10pipewire: add patch to fix random underrunsGeorge Kiagiadakis2-1/+32
Bug-AGL: SPEC-3098 Change-Id: I3f03f2c53604ad365f712e724b37df83cc302ae7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2020-01-05alexa-voiceagent-service: Add the hls gstreamer pluginJan-Simon Moeller1-0/+1
Streaming music needs this plugin. Add it to RDEPENDS. Bug-AGL: SPEC-3088 . Change-Id: Ica10a9ad106c73da98ca34c9c851f029eee04b2b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-01-02alexa-voiceagent-service: Add patch to fix event argument JSONScott Murray2-0/+184
In several places in the alexa-voiceagent-service code, strings containing JSON document fragments are put whole into a json-c string object which is added to the event argument json_object, rather than being properly added as built up json-c object hierarchies. The result is an embedded JSON document in a string with extra escaping, which is not usable on the receiving side without knowing that part of the event object effectively needs to be run through a JSON parser to be usable. This is contrary to the voiceagent event documentation and inconvenient for client implementors, so fix it by tokenizing the internal JSON payload string into a json_object tree and passing that as the event argument where necessary. Note that it is ATM not clear if all affected event argument payloads are correct, e.g. LocalMediaSource may need some more work. Bug-AGL: SPEC-3084 Change-Id: I77c97d7eb241d6ccbd98fb379b88336494ce12e9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-29alexa-voiceagent-service: support building in wakeword engineScott Murray7-4/+42
Add support for building the "amazonlite" wakeword engine into the Alexa voiceagent. A new feature template, agl-voiceagent-alexa-wakeword, is added to pull in the extra layers/recipes from the additional wakeword engine files for the SDK that Amazon provides. The feature pulls in the existing agl-voiceagent-alexa feature as a dependency to simplify configuring a build. The existing patch to work around the Alexa SDK build's use of AAC_PREFIX as prefix for all packages has been updated to handle the pryon-lite wakeword engine library. Bug-AGL: SPEC-3077 Change-Id: I5549ea9000c6713e6becb191f4dcd957ebde18ac Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-20meta-speech-framework: rework voiceagent configurationScott Murray10-11/+73
After agl-service-voice-high rework to make the voiceagent(s) used externally configurable, replace the previous virtual/voiceagent PREFERRED_RPROVIDER scheme with a virtual/voice-high-config that just selects the appropriate configuration package based on the specified feature. If agl-speech-framework is specified on its own, a default configuration file specifying no default voiceagent will be installed. If agl-voiceagent-alexa is specified, the default configuration will specify the Alexa voiceagent as the default. Recipes have been added for the new configuration file packages, and the alexa-voiceagent-service recipe has been tweaked to create a package with the Alexa per-voiceagent configuration file and add it as a dependency. Bug-AGL: SPEC-2898 Change-Id: I3ea2534b0f55aefa0226ef09b6ffde468feef2fe Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit a765be206e7379885c8df72f4ff89b6e0bf14e1e)
2019-12-20wireplumber: update with bluetooth audio policy fixesGeorge Kiagiadakis3-1/+7
George Kiagiadakis (5): config: add missing endpoint priority in hw:0,0 config config-policy: remove _can_link_stream() function config-policy: do not unlink other endpoints when linking one with keep=true config-policy: push endpoints with keep=true to the end of the list when sorting config-policy: debug handling of endpoints Bug-AGL: SPEC-2792 Change-Id: I5645715948f0c596ce0dc6754aa045ed58ebed84 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> (cherry picked from commit a84026b447df0add471eb73e782a15311c013802)
2019-12-20bluez-alsa: update gst-helper to handle corking and use the Multimedia role ↵George Kiagiadakis1-11/+64
on A2DP Bug-AGL: SPEC-2792 Change-Id: I2247550d6059c31596651e84fdd617f849722422 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> (cherry picked from commit 40eb01c5c943509df2f4a52c3fe75a5d0cf0123b)
2019-12-19pipewire: backport from icefish to halibutGeorge Kiagiadakis53-2905/+594
Change-Id: I96f974a03a488e4e30a157236aad8e3e9fa89ebf Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-12-18Also let the user specify the wakeword engine statushalibut_8.0.4halibut/8.0.48.0.4Jan-Simon Möller1-1/+3
To enable the wakeword engine you need to have the plugin available and set ALEXA_WAKEWORD in your conf/local.conf to true. Bug-AGL: SPEC-3054 Change-Id: I7f76ab5d6c4818d2825b7059d4005ecbb5682387 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-18Add mechanism to deploy the alexa-voiceagent credentialsJan-Simon Moeller3-0/+224
Allow a pre-loaded version of the alexa voiceagent configuration. Bug-AGL: SPEC-3054 Change-Id: I65e0c1fd253d2d21e33c052477a0aeb397b8eb11 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-12-06agl-service-audiomixer: add signal-composer to RDEPENDSMatt Ranostay1-1/+2
To allow subscribing to steering wheel events it requires agl-service-signal-composer. Bug-AGL: SPEC-3023 Change-Id: I4731b28cfb2702436a9c02fbfa32d32792b00c59 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-06Revert "alexa-voiceagent-service: build in debug mode"halibut_8.0.3halibut/8.0.38.0.3Raquel Medina1-4/+0
This reverts commit 1cea0461007c224c543df1cd4f530a3f3d2a592e. Bug-AGL: SPEC-2873 Change-Id: I22ecda78a6745d26e546f0733575a4ac1a273bde Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-11-05alexa-voice-agent-service: fix segmentation fault in release modeRaquel Medina2-0/+34
Bug-AGL: SPEC-2873 Change-Id: Ib341ed8f34c8b267b0df122348b569161e22cf87 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-10-15alexa-voiceagent-service: build in debug modeScott Murray1-0/+4
Tweak the CMake flags to build alexa-voiceagent-service in debug mode (hopefully temporarily) to avoid the known crash tracked in SPEC-2873. This also matches the build instructions given in the README.md in alexa-auto-sdk upstream as of version 2.0. Bug-AGL: SPEC-2873 Change-Id: I2bc7b14412089660ea253a50bcbe4079e2670be0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-15agl-service-voice-high-capabilities: remove submodule usageScott Murray1-5/+3
Update agl-service-voice-high-capabilities recipe to replace git submodule usage with DEPENDS on libafb-helpers and libappcontroller. nlohmann-json has been added also been added as a dependency since the json.hpp it provides is no longer available from libafb-helpers as it previously was from the submodule. Finally, the lua dependencies have been removed since nothing in the binding's controller usage requires them. Bug-AGL: SPEC-2855, SPEC-2857 Change-Id: I8e6eaa88c294b1c8d97c5eefab912e87aebd8e80 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 472dba34fc8f174ac3bef7901b1d186d801f257a)
2019-10-15agl-service-voice-high: remove submodule usageScott Murray1-2/+3
Update agl-service-voice-high recipe to replace git submodule usage with DEPENDS on libafb-helpers and libappcontroller. nlohmann-json has been added also been added as a dependency since the json.hpp it provides is no longer available from libafb-helpers as it previously was from the submodule. Finally, the lua dependencies have been removed since nothing in the binding's controller usage requires them. Bug-AGL: SPEC-2854, SPEC-2856 Change-Id: I4ff980e6706c9e57da2c30181261f33c602f1515 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit d56e487f85b69faa022580540f58ca244caf3520)
2019-10-08wam: bump revisionAntia Puentes1-1/+1
Includes commits: * [agl] Implement an envvar for launcher to wait for host process * [agl] Suspend/resume webapps depending on visibility * Create socket and lock files in XDG_RUNTIME_DIR. which are the fixes for the AGL issues: Bug-AGL: SPEC-2793 Bug-AGL: SPEC-1948 Bug-AGL: SPEC-2684 Change-Id: I1dc64ca013804c5df9a7f17f6d6722d40f3271f1 Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-10-07chromium68: bump revision, it fixes a WAM crash in rpiAntia Puentes1-1/+1
Includes commit: * Revert "[BACKPORT] [ozone/wayland] Use gbm with in-process-gpu mode" The original Chromium backport introduced a regression in the Raspberry Pi, resulting in a crash in the WebAppMgr. Bug-AGL: SPEC-2790 Change-Id: Ibc7af04cbd0b867d1488bcb18926d3337ad998ef Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-10-05meta-pipewire: add recipe to build the bluez-alsa-pipewire gstreamer helperhalibut_8.0.2halibut/8.0.28.0.2George Kiagiadakis4-0/+518
Unfortunately, the bluez-alsa PCM plugin does not work correctly when it is used through pipewire (or gstreamer, or anywhere really...). For this reason I have built a helper client that uses GStreamer to glue together the bluez-alsa sockets with pipewire. This helper is implemented as a patch to bluez-alsa so that it can use its internal private API. In the future this needs some re-thinking The helper is meant to run in the background as a service and it will create the appropriate streams in pipewire when it detects a new device on the bluealsa d-bus interface. Currently it only supports a2dp-sink and hfp modes (i.e. media player from a phone + calls). Bluetooth speakers need further policy work in wireplumber that is too complex to support on the current halibut version of pipewire/wireplumber. Bug-AGL: SPEC-2792 Change-Id: Ia0a0c4741dc6f28958e911436edde17ebde1a434 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-04Revert "pipewire: security-manager: add patch to grant dbus privilege to ↵George Kiagiadakis2-30/+1
pipewire" This reverts commit 1e7b764c947d05ad985040011b01c800bcd9d99c. Pipewire no longer needs dbus access, since the bluetooth impl is gone. Bug-AGL: SPEC-2792 Change-Id: Ie451cb5e43b6230eae6fa16b5d915b44b181a679 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-04Revert "pipewire config: enable bluez modules in pipewire and wireplumber"George Kiagiadakis3-11/+3
This reverts commit 9fc6d8e9bbc9746777c03471b643992abcb182a5. Native bluetooth implementation is no longer there. Bug-AGL: SPEC-2792 Change-Id: Ib45a0a3036aae8f3ac6dd29ed4e1f49e041af057 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-04wireplumber: update for halibutGeorge Kiagiadakis1-1/+1
George Kiagiadakis (6): Revert "mixer: search for "Alsa/Sink" instead of "Audio/Sink" now" Revert "simple-policy: handle bluez endpoints" Revert "bluez: set media class to Bluez/<direction>/<profile> and create softdsp-endpoints" Revert "alsa-udev: set media class to Alsa/<direction>" Revert "bluez: add bluez module" policy: add a hack that allows some clients to be linked always Bug-AGL: SPEC-2792 Change-Id: I8730a5395b869100f1f1c53d4fdd5d7526b7e3b0 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-04pipewire: update patches for halibutGeorge Kiagiadakis9-2826/+289
This removes the bluetooth-related patches that are superseeded by the bluez-alsa based implementation. Additionally, it adds a fix for a "sendmsg" error that was appearing randomly sometimes. Bug-AGL: SPEC-2792 Change-Id: I9835cbb5ec7cd21cbc5de2fd92a8a1c1356b0dea Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-10-03alexa-voiceagent-service: update config and database file pathsScott Murray2-0/+125
Add patch to alexa-voiceagent-service to update the default paths used for the database and configuration files to move them out of the binding installation hierarchy. This avoids the permissions problems stemming from the new security model of running as non-root. Also reworked the main configuration JSON file location logic to check for the file in /etc/xdg/AGL and then in AFM_WORKDIR (app-data directory), before falling back to the original location in var/config under the binding installation directory. Bug-AGL: SPEC-2845 Change-Id: Id7636435163005148a6291a56a1ada9896c0b3cc Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit c5b99b7e8608c1201293d84ba06e4a3ca501d9e8)
2019-10-01agl-voiceagent-alexa: mask out curl bbappendScott Murray1-0/+5
Mask out curl bbappend with BBMASK in agl-voiceagent-alexa.inc to avoid triggering significant rebuilds when enabling the feature. The required PACKAGECONFIG modification to enable nghttp2 is now done in meta-agl-profile-core. Bug-AGL: SPEC-2839 Change-Id: I8fdc9f75ecf20ae4c05dce585cef61cc923fac94 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit f5c7abba750555d18ab711770de0fb61edb25b97)
2019-09-25alexa-voiceagent-service: Add patch to update audio device configurationScott Murray2-0/+198
Add patch to update audio device configuration to work with PipeWire changes to Auto SDK gstreamer output code. Bug-AGL: SPEC-2761 Change-Id: If7d1058a190bd91bd68151a5b54dc84db05a55bc Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit d46451a0bf7e7bb133b17b4ee22c0a241f4132dc)
2019-09-25meta-speech-framework: aac-module-gstreamer: Add PipeWire support patchScott Murray2-0/+98
Add a version of George's PipeWire support patch updated for the new gstreamer module in Alexa Auto SDK 2.0 to the aac-module-gstreamer bbappend. Bug-AGL: SPEC-2761 Change-Id: I4787d365664089848a9ffa3be1ee646766f6c931 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 15196563cf2d6cfc9b095319913d4bf448819559)
2019-09-20wam: auto-enable remote debug when agl-devel is onAntia Puentes1-0/+7
Apart from preventing remote debugging when agl-devel is not set, which was tackled in SPEC-2327, we are interested in having remote debugging available by default when agl-devel is set. WAM checks if files: * /var/agl-devel/preferences/devmode_enabled * /var/agl-devel/preferences/debug_system_apps exist to enable the dev mode and the remote web inspector, so we create those files by default when agl-devel is set. Bug-AGL: SPEC-2782 Change-Id: I557a633802e6baa15339708b00719d66adbcf1ac Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-09-18alexa-voiceagent-service: Update config.xml.inScott Murray2-0/+32
Add a patch to alexa-voiceagent-service recipe to update its config.xml.in to remove the now unneeded 4A dependency and add the now required new audio permission. Bug-AGL: SPEC-2765 Change-Id: I884bd7cfa45e598ecc06e1d6b1adde61a82f8db5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-14Add agl-voiceagent-alexa featureScott Murray12-2/+121
Add feature and associated recipes and bbappends to enable building the Amazon Alexa voice agent for the speech framework using the Alexa Automotive SDK 2.0 release. A separate feature is used to accomodate potentially building with a different voiceagent provider. Some follow on development is required to add PipeWire support to the new gstreamer extension added in AAC 2.0, see SPEC-2767. Bug-AGL: SPEC-2765 Change-Id: Ie6e8f6a7965f8014ca2e64a2535faec073e320bc Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit e4a71cfe9b53795dd456cb8bd776c5196e924acf)
2019-09-05wireplumber: update to fix mixer issuehalibut_8.0.1halibut/8.0.18.0.1George Kiagiadakis1-1/+1
Bug-AGL: SPEC-2797 Change-Id: I8f1d13c4e816706f96f4a7628d238877a0cd4c02 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-03pipewire: security-manager: add patch to grant dbus privilege to pipewireGeorge Kiagiadakis2-1/+30
Bug-AGL: SPEC-2792 Change-Id: Ie241273679f88e61e418bbb5518551ad33ff4b65 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-02pipewire config: enable bluez modules in pipewire and wireplumberGeorge Kiagiadakis3-3/+11
In pipewire we only enable that if the bluez5 feature is enabled because otherwise the module is not compiled and will error out at runtime. In wireplumber we always enable it since it does not depend on bluez. Bug-AGL: SPEC-2792 Change-Id: I53bbc387bccd953633affd4fc34949a2fd488ed7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-02wireplumber: update to 0.1.1, which includes patches for bluetooth supportGeorge Kiagiadakis1-3/+3
Bug-AGL: SPEC-2792 Change-Id: I6075539a4964e9fb638443e14cdcfa0d0028b81c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-09-02pipewire: add patches for bluetooth supportGeorge Kiagiadakis7-1/+2865
Bug-AGL: SPEC-2792 Change-Id: Ida682a405c4cc5d2f84a98cb71f89a7bb41ad489 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-08-30chromium68: remove downstream backportsJacobo Aragunde Pérez3-175/+1
Bump revision to include: * 3169198 [BACKPORT] skia: Build skcms with -mfp16-format=ieee on GCC ARM builds * 6aa7e63 [BACKPORT] libavcodec: Remove dynamic relocs from h264idct_neon.S These patches were being kept in the recipe, but there is no need for that now. Bug-AGL: SPEC-2506 Bug-AGL: SPEC-2514 Change-Id: I7dcd221c7f4fc179f2e686c8cc4eb619917ad9ab Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> (cherry picked from commit ca764441c712804d00562f838a4ef00c881750e9)
2019-08-22chromium68: bump revisionAntia Puentes1-1/+1
Commits included are backports from Chromium/Wayland upstream which are part of the on-going work carried on SPEC-2266: 6a0470f2d03 [BACKPORT] [ozone/wayland] rely on implicit sync for Broadcom and Intel GPUs. 55acfb83ea4 [BACKPORT] [ozone/wayland] Use gbm with in-process-gpu mode d58f1321884 [BACKPORT] ozone: xkbcommon: Pre-compute masks when setting keymap ce84756108d [BACKPORT] ozone/wayland: xkbcommon: Fix layout switching 5e8508b280e [BACKPORT] ozone/wayland: Support NumLock in non-chromeos builds 7e90082ccfc [BACKPORT] ozone/wayland: Remove WaylandXkbKeyboardLayoutEngine c74c5365d40 [BACKPORT] ozone/wayland: Fix NEO keyboards layout handling 1055757769d [BACKPORT] ozone/wayland: Support dead keys e2648e9c17b [BACKPORT] Move CharacterComposer into //ui/base/ime Besides: * 1055757769d [BACKPORT] ozone/wayland: Support dead keys fixes SPEC-2746 * 55acfb83ea4 [BACKPORT] [ozone/wayland] Use gbm with in-process-gpu mode fixes SPEC-2699 Bug-AGL: SPEC-2266 Bug-AGL: SPEC-2746 Bug-AGL: SPEC-2699 Change-Id: I19eaa6bf225ac478386c53b94955ccb0a4856e62 Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-07-30pipewire: add patch to fix non-S16 negotiation issuehalibut_8.0.0halibut/8.0.08.0.0George Kiagiadakis2-0/+45
Bug-AGL: SPEC-2674 Change-Id: Id5b099a8efed2a2f9bdae142ef69bbc09deae8e8 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-30wireplumber: add AGL-specific per-board configGeorge Kiagiadakis3-0/+125
Bug-AGL: SPEC-2662 Change-Id: If419c940e18feb46f42f9004479944bd395a3b4a Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-30wireplumber: update to fix some bugsGeorge Kiagiadakis1-1/+1
George Kiagiadakis (5): modules: initialize some spa_pod_builders inline proxy: fix the naming of variables that point to the instance and private structures Merge branch 'error-handling' into 'master' simple-policy: do not leak client endpoints when rescanning simple-policy: compare client creation times so that the "last one wins" Julian Bouzas (6): dsp: use the new WpProxyLink API proxy: throw an error if the proxy is destroyed during async constructions modules: handle error if the endpoint proxies could not be created simple-policy: fix bug when finding endpoints dsp: removed unneeded format property and always use the default format simple-endpoint-link: skip already output linked ports Bug-AGL: SPEC-2674 Change-Id: Ic35d9921dbd1e6d4f6302d326983a73436d2b8e6 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-25meta-html5-framework/wam: adjust how wam is startedStephane Desneux3-14/+249
WebAppMgr has to be launched for each user (but not through the systemd user session as it would require too much privileges for the user). For this purpose, we create a systemd service instanciated for each user by the application framework through afm-user-session@ service. This patch also distributes the environment and service file near the recipe instead of having those integration files in the sources (it's easier to follow AGL evolution without changing the upstream source code) Also, for the HTML5 demos to work, each app must request the following permissions in their config.xml: <param name="urn:AGL:permission::public:display" value="required" /> <param name="urn:AGL:permission::public:audio" value="required" /> Bug-AGL: SPEC-2586 Change-Id: I4286fd9e1d1a1dcff48d3fdbfab2bf8d57f0fa0e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-07-25Update .gitreview for halibut branchJan-Simon Möller1-0/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I1f84c5dc8ef53d833bf2e8b4a1125178df21f964
2019-07-24add markdown documentation for all machines and featuresStéphane Desneux6-0/+54
THIS IS STILL WIP - not all features/machines are described Bug-AGL: SPEC-1902 Change-Id: I1808346276628caf6ae61d5e6d7ccade39241daf Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2019-07-13wam: bump revision, fixes related to the remote inspectorhalibut_7.99.3halibut/7.99.37.99.3Antia Puentes1-1/+1
Included changes: * 8271e13 [agl] Update the path for the Remote Web Inspector * f0166b5 [agl] Remote debugging should work only on debug mode AGL-bug: SPEC-2327 AGL-bug: SPEC-2328 Change-Id: Iaee96758831d0d1e809bd10e0ce6dff445d6210a Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-07-13wam: add AGL_DEVEL flag if 'agl-devel' distro feature is onAntia Puentes1-0/+1
We want the remote inspector to be available only in debug mode, i.e. when the 'agl-devel' feature is on. We will use this flag to check if that is the case. AGL-bug: SPEC-2327 Change-Id: Ib22c5f21bc79afa4544b884238ca971d7bef6991 Signed-off-by: Antia Puentes <apuentes@igalia.com>
2019-07-12wireplumber: add basic policy support based on role prioritiesGeorge Kiagiadakis1-1/+1
* Every client now has a priority based on its role * For playback, we allow only a single client to play at a time * For capture, we allow all clients to capture simultaneously * Every time the "selected" device changes (either because devices are discovered/removed or because the user changed the selection), the clients are re-linked to the new "selected" device. * When a playback client quits and there are others waiting unlinked, the highest priority one is linked automatically. * This also properly fixes re-linking the correct client(s) to the correct device(s) when wireplumber exits and restarts. George Kiagiadakis (7): m-client-permissions: ref-count the client data and re-work code for safety policy: take into account the role of the client when linking it Merge branch 'doc-fix' into 'master' Merge branch 'delay-unhandled-clients' into 'master' config: allow nested blocks, in case a property has a dictionary value policy: implement a basic policy based on role priorities simple-policy: remove the idle callback when the object finalizes Julian Bouzas (3): Fix doc warnings audio-client-module: added new module to load clients after softdsp endpoints are created simple-policy: delay unhandled enpoints if target is not found Bug-AGL: SPEC-2473 Change-Id: Ia37f236a8cac8b5f1f0d5e7409c50d4e7cb8a2da Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-12pipewire: add and enable native gstreamer audio source & sink elements for ↵George Kiagiadakis8-0/+1464
pipewire Bug-AGL: SPEC-2634 Change-Id: I10301e0c244fad60b31a4dfa6dc0dc61512a4867 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-12wireplumber: update to latest versionGeorge Kiagiadakis1-1/+1
George Kiagiadakis (18): Merge branch 'unregister-fix' into 'master' config: skip empty lines and comments (starting with #) config: implement reading properties for modules from the config file config: allow module property blocks to span multiple lines config: ensure that both ABI and MODULE are specified before the properties simple-policy: allow configuring the default audio devices via module arguments config: enhance the configuration file with comments Merge branch 'async-endpoint-links' into 'master' Merge branch 'link-fix' into 'master' softdsp-endpoint: actually register the streams softdsp-endpoint: dont't add the stream-id field on the description of the master controls softdsp-endpoint: move the selected control in the endpoint and simplify the id encoding alsa-udev/softdsp-endpoint: make the stream names & count configurable softdsp-endpoint/dsp: actually notify controls on the endpoint, not the dsp object simple-policy: match the requested role to a stream in find_endpoint mixer: implement listing controls of multiple streams Merge branch 'multistream-softdsp-ep' Merge branch 'stop-client' into 'master' Julian Bouzas (21): core: handle global references in a simpler way endpoint: remove unneeded ref/unref modules: unregister endpoints on global_removed instead of proxy destroyed modules: disconnect the signals when the endpoints are destroyed proxy: remove unneeded destroy signal endpoint-link: make contruction async factory: remove unneeded sync construction API simple-endpoint: handle both input and output directions simple-policy: handle both input and output clients simple-endpoint-link: dont link already linked ports softdsp-endpoint: add multiple streams support softdsp-endpoint: change the control value properly dsp: add support for convert mode module-pipewire: always include the node Id in the endpoint name proxy-link: add new API endpoint: allow derived classes of endpoint-link to finish async construction simple-endpoint-link: store the created links in a list endpoint: destroy the link before removing them from the lists endpoint: add wp_endpoint_unlink API simple-policy: unlink the target endpoint if it is already linked proxy: allow derived classes to finish its creation Bug-AGL: SPEC-2473 Bug-AGL: SPEC-2572 Change-Id: I1f9ca82ef907ce7f04c977692b3707fe3ef283d2 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-07-12pipewire: update patchesGeorge Kiagiadakis10-13/+429
0004 adds a useful cli utility 0006 aids debugging 0007 fixes audio in qemu (SPEC-2570) 0008 & 0009 add functionality necessary for implementing multiple streams per device The rest is the same as before Bug-AGL: SPEC-2570 Change-Id: If6736f0fc87491edce6981c0be44094239ddaa89 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>