aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
AgeCommit message (Collapse)Author
2016-02-22alsa-lib: topology: Add missing include sys/stat.hMaxin B. John
Fixes this build error with uclibc: alsa-lib-1.1.0/src/topology/parser.c: In function 'snd_tplg_build_file': alsa-lib-1.1.0/src/topology/parser.c:262:35: error: 'S_IRUSR' undeclared (first use in this function) open(outfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-18alsa-plugins: 1.0.29 -> 1.1.0Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 The licensing of the libsamplerate plugin was relaxed a bit: if the licensee has a commercial license for libsamplerate, the plugin can be used under the terms of LGPL instead of GPL. Both old patches are included in the new release, so dropped them. Added a new patch to fix building against libspeexdsp 1.2rc3. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-18alsa-utils: 1.0.29 -> 1.1.0Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 This release introduces two new tools: - alsatplg for converting topology data from text representation to a binary format consumed by the kernel - alsabat; "bat" stands for "basic audio tester" Backported a patch from upstream that renames bat to alsabat. Rebased patch "0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch". Dropped patches "alsa-utils-aplay-interrupt-signal-handling.patch" and "assume-storing-is-success-if-not-sound-card-device.patch", because the issues have been fixed upstream. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-18alsa-tools: 1.0.29 -> 1.1.0Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 There are almost no changes in the new version: just one invalid macro was removed from the cspctl man page. Rebased patches "autotools.patch" and "makefile_no_gtk.patch". Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11alsa-lib: avoid including <sys/poll.h> directlyAndre McCurdy
musl libc generates warnings if <sys/poll.h> is included directly. Although alsa-lib does not build with -Werror enabled, other packages which include the alsa-lib public header files (ie libasound.h) might. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-17alsa-lib: 1.0.29 -> 1.1.0Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 The most significant change is probably the addition of the "topology API", which is used to change the DSP topology from userspace. My understanding is that the API is (or will be) needed to support some new hardware, but I don't know any specifics about that. Rebased Check-if-wordexp-function-is-supported.patch. Dropped 0001-build-Do-not-try-to-detect-cross-compiler.patch, since it is included in the new release. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16meta: Fix typos in Upstream-Status labelsPaul Eggleton
We need these to be consistent so they are possible to programmatically read. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16alsa-plugins: set SUMMARY instead of DESCRIPTIONPaul Eggleton
We only have a short description, so set SUMMARY and DESCRIPTION will be defaulted from it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-12alsa-tools: Fix compiling with clangKhem Raj
Fixed a linking error occurring when building with clang, where a function reference is emitted but function is not since its marked as inline, making it static inline gives better opportunity to compiler to compile it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-06alsa-utils: handle udev dir being 2 levels below /Joshua Lock
When building with a merged /usr dir the udev directory lives at /usr/lib/udev - update the FILES pattern to also pick up udev files installed two levels below the / to ensure a merged /usr works. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30alsa-lib: Lift the limitation to use gcc only cross compilerKhem Raj
alsa-lib configure tries to see that if CC variabled doesnt contain 'gcc' then it tries to guess and redefine CC to be something gcc, which doesnt work with OE since we define CC to have sysroot and options attached to it. So all tests fail when configure constructs the CC for cross compiler like this. This portion is not needed at all (From OE-Core rev: 33a7eb64cded61601c6ad6883e4d64ebe9ff547c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31alsa-utils: assume the alsa storing is success if machine has no sound cardRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16alsa-plugins, pulseaudio: depend on speexdsp, not speexTanu Kaskinen
Speexdsp was split off from speex, and alsa-plugins and pulseaudio only depend on the speexdsp library. alsa-plugins needs also a patch, because it has so far relied on speex_types.h, which was renamed to speexdsp_types.h when speexdsp was split off, to not collide with the file that is included in speex. (From OE-Core rev: 4ee8f0dd4e9cb493d074c762bf6ff7169bcf3466) Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-08alsa-tools: add dependency glib-2.0Kai Kang
Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-08alsa-plugins: enable alsa-plugins-pulseaudio-conf conditionallyTanu Kaskinen
If pulseaudio isn't enabled, the alsa-plugins-pulseaudio-conf package is unnecessary. This change fixes these warnings, when pulseaudio isn't enabled: WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-conf-pulse, but it isn't a build dependency? [build-deps] WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-ctl-pulse, but it isn't a build dependency? [build-deps] WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-pcm-pulse, but it isn't a build dependency? [build-deps] Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-03alsa-plugins: Include missing sys/select.hKhem Raj
This is exposed by musl where indirect include does not happen Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-05-30alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabledKhem Raj
The source file does not exist when pluseaudio is disabled Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-30alsa-tools: update makefile_no_gtk.patchKai Kang
makefile_no_gtk.patch will be applied when no 'x11' in distro features. It fails to apply after update to version 1.0.29. Fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24alsa-plugins: initial recipeTanu Kaskinen
When PulseAudio is installed, alsa-plugins is needed to provide compatibility for ALSA applications. The dependencies are set up so that pulseaudio-server depends on alsa-plugins-pulseaudio-conf, and alsa-plugins-pulseaudio-conf depends on the PulseAudio plugins. This should make the ALSA->PulseAudio compatibility configuration work out of the box, while leaving the PulseAudio specific configuration out on systems that don't have pulseaudio-server installed. The alsa-plugins recipes in meta-guacamayo and meta-webos were used as references, but this recipe is not a straight copy of either. Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20alsa-utils: upgrade to 1.0.29Kai Kang
Upgrade alsa-utils from 1.0.28 to 1.0.29. * remove PR * rename package alsa-utils-alsaconf to alsa-utils-scripts, and add script alsa-info.sh Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20alsa-tools: upgrade to version 1.0.29Kai Kang
Upgrade alsa-tools from verion 1.0.28 to 1.0.29. * update autotools.patch * add file gitcompile which exists in git repo but missing in release tar ball for sub-directory hdajacksensetest Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14alsa-tools: set CLEANBROKENRobert Yang
Fixed: make[1]: Entering directory `alsa-tools-1.0.28/envy24control' make[1]: *** No rule to make target `clean'. Stop. There is no "make clean" in envy24control when DISTRO_FEATURES is changed from no-x11 to x11. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-28alsa-utils: Remove double dependency on udevMike Looijmans
"udev" is already added when PACKAGECONFIG includes it, so it should not be in the DEPENDS list on itself. This caused udev to be built for systems that don't use it. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-24alsa-lib: 1.0.28 -> 1.0.29Tanu Kaskinen
Release notes: http://alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29 Dropped the backported patches. Dropped also fix-tstamp-declaration.patch. It's unclear whether the ancient patch is needed by anyone any more. The original commit message[1] wasn't very clear on what specific conditions triggered the build failure that the patch fixes, so it's hard to try to reproduce the failure. [1] http://cgit.openembedded.org/openembedded/commit/?id=f61f3efe2389249c001107ccd55dac39e79ef2a1 Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16alsa-utils: fix B != SRobert Yang
And bump the PR to avoid: configure: error: source directory already configured; run "make distclean" there first Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-29alsa-utils: interrupt streaming via signalMuzaffar Mahmood
aplay/arecord (alsa-utils v1.0.28) cannot interrupt streaming via CTRL-C. Fixed the issue by reverting buggy patches and properly handling 'in_aborting' flag in appropriate functions. Signed-off-by: Anant Agrawal <Anant_Agrawal@mentor.com> Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
2014-09-10alsa-utils: hard-code alsa-utils in SRC_URIRichard Purdie
This recipe is used by alsa-utils-alsaconf so don't use ${BP} in the SRC_URI. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10alsa-utils: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated. (From OE-Core rev: 5a3331b7ee8bb565ebb3823fc23123120ccd653d) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03alsa-lib: libasound should runtime depends on alsa-confZidan Wang
Make libasound runtime depends on alsa-conf to install alsa-conf to rootfs. Signed-off-by: Zidan Wang <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-utils: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-tools: upgrade to 1.0.28Cristian Iorga
mips_has_no_io_h.patch removed, no longer necessary. Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-lib: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 Update-iatomic.h-functions-definitions-for-mips.patch removed, integrated upstream. Check-if-wordexp-function-is-supported.patch updated. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONICWang Zidan
CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: fix hw_ptr exceed the boundaryWang Zidan
For long time test case, the hw_ptr will exceed the boundary, then cause the avail size wrong. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: use get32_labels for multi-sourceWang Zidan
The PCM route plugin can assign the destination value from average of multiple sources with attenuation. This requires the read of each channel value, sums and writes the resultant value in the requested format. get_labels gives the value as is only with endianness and signedness conversions, but put32_labels assumes that the value is normalized to 32bit int and it shifts down to the dest format. In addition, the current code lacks get_labels entries for the 24bit formats. For fixing these bugs, this patch replaces the read with get32_labels and use always 64bit int for sum. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-02alsa-lib: Add upgrade path for alsa-devJackie Huang
Previous commit removed non PN based -dev packages but lack of upgrade path for alsa-dev. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-07-25alsa-lib: remove non PN based -dev packagesJackie Huang
All dev related items should be packaged in the core PN-dev package not in seperate packages. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-21alsa-tools: Disable use of GTK+ when not using X11Otavio Salvador
The GTK+3 does not provide support for DirectFB backend so we cannot enable GTK+ features of alsa-tools in this case; GTK+2 does not provide support for Wayland. This patch changes GTK+ support to be enabled only when X11 support is enabled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-16alsa-utils-native: add missing dep for xmltoHongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native to PACKAGECONFIG[xmlto]'s dep. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10alsa-utils: add PACKAGECONFIG for xmltoHongxu Jia
Support xmlto for documentation generation and disable it by default. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-14alsa-tools: Add missing pkgconfg dependencyRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03recipes: Add missing pkgconfig class inheritsRichard Purdie
These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30alsa-tools: Enable GTK support for X11, Wayland and DirectFBOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04alsa-tools: Fix build without x11Otavio Salvador
The patch had some new tool (hdajackretask) missing which were triggering build failures in O.S. Systems' builder as: ,----[ Build error in a clean tmp, without x11 ] | checking for GTK3... no | configure: error: Package requirements (gtk+-3.0) were not met: | | No package 'gtk+-3.0' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables GTK3_CFLAGS | and GTK3_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | make: *** [all] Error 1 `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21alsa-tools: fix build when x11 and gtk+ not availableSimone Agresta
Updated patch to work with alsa-tools version 1.0.27 Signed-off-by: Simone Agresta <simone.agresta@bticino.it> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-19alsa-tools: fix build when x11 and gtk+ not availableSimone Agresta
Updated patch to work with alsa-tools version 1.0.27 Signed-off-by: Simone Agresta <simone.agresta@bticino.it> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17alsa-tools: update to version 1.0.27Kai Kang
Update alsa-tools to latest version 1.0.27: * remove PR * update autotools.patch * add build dependency gkt+3 that hdajackretask requires it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-05alsa-tools/autotools: Ensure that aclocal files can be present with ↵Richard Purdie
AUTOTOOLS_COPYACLOCAL variable Introduce a AUTOTOOLS_COPYACLOCAL variable which forces the copy of the aclocal files even when a configure.ac/.in file isn't present. Use this new feature in alsa-tools. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>