aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
AgeCommit message (Collapse)AuthorFilesLines
2023-02-27mpd: Backport PipeWire output fixesScott Murray5-1/+140
Backport four PipeWire output plugin fixes related to handling very short audio files. They fix MPD hanging in the Drain call of the plugin when playing very short files like truncated ones attached to SPEC-4661. These patches can be removed when MPD is upgraded to 0.23.8 or newer. Bug-AGL: SPEC-4661 Change-Id: I42b5dd4c08863c7209a75f6ede777402a11cfc87 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit eaed764bc0a02029287d2531bedf13ce123641ee)
2022-04-13Drop MPD recipe backportsScott Murray7-613/+1
Use new AGL_META_MULTIMEDIA hook to add the meta-multimedia layer from meta-openembedded, and drop the backports of mpd, libmpdclient, and mpc in favour of getting them from their instead. Also rename our mpd bbappend to use a wildcard so it will match against the newer version in upstream. Bug-AGL:SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4b5730a60af7cc6c85523124d9fc40e8017c8294
2022-04-13Update to SPDX license namesScott Murray6-6/+6
Apply updates from running the new convert-spdx-licenses script from upstream. This is not currently a hard requirement from upstream, but futureproofs for when the license name mapping is finally removed. Additionally, a few license declarations of just "BSD" have been updated with the more specifc "BSD-3-Clause" after inspecting the licenses in the source, as the non-specific name now triggers a warning. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia86d412fe76ff3217456fcea81cb44f68bc1ced8
2022-04-13Update for kirkstone variable renamesScott Murray2-5/+5
Apply updates from running the new convert-variable-renames script from upstream. There are a few things outside of BitBake variables that the script still complains about that will need to be addressed in follow up changes. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Icc6056cfdd9759470e99a51fe96d8d793e63a4ff
2022-04-13gstreamer1.0-plugins-bad: remove bbappendScott Murray3-31/+0
Remove gstreamer1.0-plugins-bad bbappend and the patch it was applying, since a version of the patch has been applied upstream. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8e8922c22937a7dacb26f26a4a5bba8910f854e4
2022-02-15Remove lightmediascannerScott Murray9-278/+0
Remove the lightmediascanner recipe. The upstream project is no longer maintained and our intent is to replace its usage with mpd (Media Player Daemon). Bug-AGL: SPEC-4255 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I692406bec23b7fcf9642c1859e64e60e89c625ec
2022-02-15Add backports of mpd and related recipesScott Murray9-0/+1096
Backport the recipe for the latest (0.23.5) version of mpd (Music Player Daemon) from meta-openembedded's master branch. This provides a version with native PipeWire support, and should help make the upcoming upgrade to Yocto Project 3.5 (aka Kirkstone) easier. Additionally, the recipes for the related libmpdclient library and mpc utility are also backported to ensure compatibility. The provided bbappend for the mpd recipe tweaks the backport to build with the older version of meson in dunfell, and applies configuration to approximate the lightmediascanner set up with regards to media location and using /var/volatile for metadata storage for robustness. Bug-AGL: SPEC-4255 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ida58289a16079f48c3467d55aef4a608671ffc37
2021-11-03Prepare master for new framework integrationJan-Simon Möller1-1/+0
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-11-03Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray2-2/+2
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibfa59ef83db75f95c4b47b28213b60d8cf19fba1
2021-08-24lightmediascanner: Fix missed override syntax conversionScott Murray1-1/+1
One override got missed by the conversion script in the lightmediascanner recipe, update it. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia0a87ad80885ec758c8271d2550327694e53525d
2021-08-20Convert to new override syntaxScott Murray8-28/+28
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-02-25libmp4v2: add gcc 10 compatibility patchScott Murray2-0/+421
Add patch to fix gcc 10 compilation issues in libmp4v2. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I94f8cbd4e1eef3ca86255540e9a0b52d5869a20e
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller16-0/+371
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2019-06-11Changes to support the switch to pipewireJan-Simon Möller13-906/+0
This moves all soundmanager components off into meta-agl-devel/meta-audio-soundmanager-framework . Soundmanager is not supported in HH. Furthermore, I simplified the image and packagegroup recipes. Feature templates were modified to reflect the change as well. Bug-AGL: SPEC-2473 Change-Id: I48b437fb2ed727ed362d92af56596096df62dd8d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-053rd part of the layer/profile rework [2/2]Jan-Simon Möller5-14/+98
This is the last part of the layer rework series. Notable changes are: - move demo specific recipes to the demo (dlt, web-runtime mocca-usb) - wayland-ivi-extension moved to the meta-agl-demo layer for now. - web-runtime moved here (from appfw layer to allow console-only builds with appfw) - adapted packagegroups and agl-features v2: squashed with commit on sandbox to form single commit (tnx, Scott) v3: inclusion of old packagegroup-agl-image-ivi (TODO: refactor and include in profile packagegroups. Tnx, Stephane) v4: base packagegroup-agl-demo-platform on packagegroup-agl-profile-graphical-qt5 v5: fix MOST_DRIVERS_append (disable due to FTBS) v6: re-add RDEPENDS for virtual/pulseaudio-config Bug-AGL: SPEC-145 Bug-AGL: SPEC-1422 Change-Id: I20bd5b9a957ea54a7ecd08bd4f8b99a32266c9c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-282nd part of the layer/profile rework [2/2]Jan-Simon Möller4-85/+0
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: remove recipes from meta-agl-demo that were moved to other layers Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: moving updated udisks changes to meta-agl Change-Id: I873107f00adadeb6f3f266cce37b513fe6d44cf2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-29lightmediascanner: add missing character sets to RDEPENDSMatt Ranostay1-0/+3
This change fixes the following errors during scanning which produced invalid id3 results ERROR: could not add conversion charset 'UTF-16BE': Invalid argument ERROR: could not add conversion charset 'UTF-16LE': Invalid argument ERROR: could not add conversion charset 'Latin1': Invalid argument Bug-AGL: SPEC-1241 Change-Id: I67045575d6d198fb0b767c01701853244361b329 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-28lightmediascanner: build mp4 pluginMatt Ranostay1-1/+4
Add mp4 plugin for scanning and indexing video media Bug-AGL: SPEC-1169 Change-Id: Ib771f28909ddd0274992682e19c8ebb134ee2e89 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-27libmp4v2: initial add 2.1.0Andreas Müller2-0/+58
libmp4v2: disable build of man-pages * causes build failures in some environments * we don't need them anyway libmp4v2: update sources to fix build with gcc7 Bug-AGL: SPEC-1169 Change-Id: I45c127f14c6c243049e196055100f2058e184cac Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-12-07recipes-multimedia: add recipe for agl-service-unicensChristian Gromm1-0/+19
Change-Id: I4eadca714d2efc8c7e47813557d33b3c5a34de77 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-14Pulseaudio configuration fixesScott Murray4-6/+12
Some fixes to work when 4A is enabled: - Simplified the echo that adds /etc/pulse/default.d to /etc/pulse/default.pa, as it was resulting in "-e -n" in the file sometimes for reasons unknown. - PulseAudio does not like the /etc/pulse/default.d directory being empty, and additionally it was realized that the module unloads that are in module-router.pa are useful in all our usecases and should likely always be present. To kill two birds with one stone, the unload lines have been moved to a 10-unload-modules.pa file that is installed by the pulseaudio bbappend, and those lines have been removed from the module-router.pa files, which has been renamed to 20-module-router.pa so that ordering will be maintained if someone needs to reenable it. Change-Id: I70cd1d0dfc596b894009c1bdd7520ffe6394e60e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-14Fix pulseaudio service startRonan Le Martret1-1/+1
char \n is not recognized in the file default.pa Bug-AGL: SPEC-1084 Change-Id: I08f9857041dff37d3259583736554099fb2f919a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-03Rework PulseAudio / audiomanager config setup to allow over-ridesScott Murray7-61/+28
Changes include: - Move from having PulseAudio configuration changes in the recipe bbappend as patches to using the .include directive in default.pa to pick up configuration fragments provided by other recipes. - Use virtual/pulseaudio-config to pick up the previously hard-coded configuration for enabling module-router.so, which is now provided by a new recipe that sets RPROVIDES appropriately. This allows over-riding the desired configuration if needed. - Switch the audiomanager-plugins-config dependency to using virtual/audiomanager-plugins-config so that it can be over-ridden with PREFERRED_PROVIDER if needed. Bug-AGL: SPEC-1025, SPEC-1026, SPEC-1027 Change-Id: Ifdf16871cddc2bec7761b8c63239623b63c9e984 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-07-05module-router: update SRCREV to include empty proplist description fixMatt Porter1-1/+1
https://github.com/tisogai/module-router/commit/8104a3174e6f54ace53066ab1797d9b9bd2bdf63 fixes a race condition that results in an AudioManager crash. Bug-AGL: SPEC-660 Change-Id: I59897eeda05bc6be8e9664d9d5b895fad9a3bece Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-07-04Add mp3 support in lightmediascanner for AGL demoTadao Tanikawa1-0/+2
Supporting 'mp3' scan of LMS is dropped by PACKAGECONFIG in meta-agl. (It is supported in meta-openembedded by default.) When displaying AGL demonstration, supporting MP3 is preferable. Change-Id: I3f95cafbb9ca2d8334442fb04a659934e6b4430e Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-06-27disable module-role-cork by defaultMatt Porter2-0/+31
module-role-cork's hardcoded corking policy can conflict with the configurable policy management that is part of module-router and AudioManager. Since module-router/AM are enabled by default in demo builds, we must also disable module-role-cork to avoid conflicting corking policies. Bug-AGL: SPEC-710 Change-Id: I55442b5c11e711783fb4f890d1f26227c295d122 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-24Add audio management between Media Player and Radio.Toshiaki Isogai4-4/+33
This patch enables loading router-module by default to manage audio routing when both Media Player and Radio start playing. Latter audio source selected by user enforces existing one corked. Detail in below. https://jira.automotivelinux.org/browse/SPEC-378 Bug-AGL: SPEC-606 Change-Id: I407924b1346f95573596434ba9b17c732cae5146 Signed-off-by: Toshiaki Isogai <isogai.toshiaki@nttd-mse.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-01-23Fix a bug in the audio managementNaoto Yamaguchi1-1/+1
Fix the bug to pulseaudio crashes due to module-router NULL acces. Change-Id: I1e16c4b19b10ee47317b397daeb290699d106ab0 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-27Integrate GENIVI Audio Manager Plugins for CES2017 demo.Toshiaki Isogai8-0/+789
Change-Id: I56081180f8dc3bc10159492d4bc7e5fdd621ab27 Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
2016-12-21Adding patch to adjust volume of TTS engineNaoto Yamaguchi2-1/+34
OSS TTS engine has problems of low volume. This patch adds the normalize function to OSS TTS engine. Change-Id: I21c2c6d20bb9e8bef6f3b8ca1c8440baa7ffe2b8 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-02TTS Engine: Added support for Japanese TTS engineNaoto Yamaguchi3-0/+116
This patch will add a temporary TTS engine for CES 2017 demo This recipe integrates the Japanese TTS engine and the data it needs Flite are necessary for voice-guide function of navigation app Change-Id: I92c3ba8584ab10c1a731a335316b7762f5f57a77 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-11-24TTS Engine: Added support for English TTS engineNaoto Yamaguchi2-0/+48
This patch will add a temporary TTS engine for CES 2017 demo This recipe integrates the English TTS engine and the data it needs Flite are necessary for english voice-guide function of navigation app Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> Change-Id: I57e4cc724a3b7affe0ba588af18b346b1bb6ce46
2016-11-24TTS Engine: Added support for HTS engineNaoto Yamaguchi1-0/+19
This patch will add a temporary TTS engine for CES 2017 demo HTS engine is a common part of Japanese and English TTS engines These TTS engines are necessary for voice-guide function of navigation app Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> Change-Id: I238098fa4812cafd9b376fb994653a97ad23de46
2015-08-22The starting point of layers for AGL Demo PlatformTadao Tanikawa1-0/+0
The `meta-agl-demo` is the Yocto layer for AGL Demo Platform of Automotive Grade Linux. This is starting point. Almost all packagegroups which should be defined in this layer are still empty (placeholder), so that curretly bitbake target `agl-demo-platform` is completely equal to `agl-image-ivi` in `meta-agl`. Change-Id: I6ce2c046cc8ce2dc5af2a8afe66e1f577dd884eb Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>