summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib
Commit message (Collapse)AuthorAgeFilesLines
* alsa-lib: 1.1.2 -> 1.1.3Tanu Kaskinen2017-02-231-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.2_v1.1.3 Added a patch to fix a build failure with musl (cherry-picked from upstream). The new release doesn't any more install the smixer modules when Python support is disabled. The modules weren't usable without Python support before either, so this change does not constitute a loss of functionality [1]. alsa-lib-dev has automatic dependencies on alsa-lib and libasound, but since the smixer modules were the only thing in the alsa-lib package, the alsa-lib package doesn't get generated any more. alsa-lib-dev still has an automatic dependency on alsa-lib, however, so I had to override the RDEPENDS of alsa-lib-dev to only include libasound. [1] http://mailman.alsa-project.org/pipermail/alsa-devel/2016-November/114682.html (From OE-Core rev: dc549b5510bfcf83f6e5e8e3aa7ed663dee83444) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: 1.1.1 -> 1.1.2Tanu Kaskinen2016-08-182-147/+10
| | | | | | | | | | | | | | | Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.1.1_v1.1.2 Removed upstreamed patch: 0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch Rebased avoid-including-sys-poll.h-directly.patch (From OE-Core rev: 4d3ec9312d9f721f57d0afc08ec1512709f75d17) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: 1.1.0 -> 1.1.1Tanu Kaskinen2016-06-073-37/+2
| | | | | | | | | | | | | | | | | | Release notes: http://alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1 Dropped upstreamed patch 0001-topology-Add-missing-include-sys-stat.h.patch. Updated "Upstream-Status" of accepted patch 0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch. Rebased avoid-including-sys-poll.h-directly.patch. (From OE-Core rev: 3693f243a639351083eb29fb1a14916d0ff5990d) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.Yuqing Zhu2016-05-111-0/+137
| | | | | | | | | | | | The appl pointer needs to be updated only when snd_pcm_mmap_commit() is successfully returned. Or it shouldn't be updated. This is to fix the avail_update()'s result is incorrect when returns error. (From OE-Core rev: fcd7e439497174256a5c467532aad402f4d19ca1) Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: topology: Add missing include sys/stat.hMaxin B. John2016-02-221-0/+35
| | | | | | | | | | | | | | 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); (From OE-Core rev: 9ec2c6d4fd9c5c1f745f4d402922b73649ff6287) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: avoid including <sys/poll.h> directlyAndre McCurdy2016-02-111-0/+183
| | | | | | | | | | | | | 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. (From OE-Core rev: e1c837d52016fdf7861dcbefb5fefbdf23af1886) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: 1.0.29 -> 1.1.0Tanu Kaskinen2016-01-182-52/+7
| | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 13a2786493bd91a54e3a5342da11c06a9b6c99b8) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: Lift the limitation to use gcc only cross compilerKhem Raj2015-08-301-0/+45
| | | | | | | | | | | | | | | | 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) (From OE-Core rev: 47212cb032b67dc59277f6c38e9aeda5a9b628a4) 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>
* alsa-lib: 1.0.28 -> 1.0.29Tanu Kaskinen2015-04-244-432/+0
| | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 893b317c354d2bb4ee9f44d7318e0f59382060a9) Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade to 1.0.28Cristian Iorga2014-08-312-83/+16
| | | | | | | | | | | | | | 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. (From OE-Core rev: 736dc0abd22be122cac053e8934e8bfd5b82eec0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONICWang Zidan2014-08-061-0/+32
| | | | | | | | | CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>. (From OE-Core rev: 77b4d82687e7d65e8c6619c36d337b1d5763fc36) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: fix hw_ptr exceed the boundaryWang Zidan2014-08-061-0/+34
| | | | | | | | | | For long time test case, the hw_ptr will exceed the boundary, then cause the avail size wrong. (From OE-Core rev: b8d472cb96cf4f6c3077bdb8acf1026d37dac438) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: use get32_labels for multi-sourceWang Zidan2014-08-061-0/+345
| | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: aef6f71e68c3ef1d662cda237d85307142a997be) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: fix function definitions error for mipsKai Kang2013-08-261-0/+68
| | | | | | | | | | | | | | | | | | | | Functions atomic_add(s) and atomic_sub(s) are defined with 'extern __inline__' that may cause compile fails when cross compile for mips. The error message looks like: | pcm/.libs/libpcm.a(pcm_meter.o): In function `snd_pcm_meter_update_scope': | .../alsa-lib-1.0.27.2/src/pcm/pcm_meter.c:139: undefined reference to `atomic_sub' Replace the 'extern __inline__' with 'static __inline__' to fix this issue. (From OE-Core rev: 80b4eb9e12ccf815261f6a67fd9b8d97717e82d5) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade to v1.0.27.2Cristian Iorga2013-08-033-92/+0
| | | | | | | | | | | | | fix-O0-Optimize-unable-inline-function.patch, obsolete_automake_macros.patch patches included in upstream; removed. unbreak_plugindir.patch not used, removed. (From OE-Core rev: d438c87012a03bf556fe306b178a68ff41d19bc0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: check if wordexp is supported in libcJesse Zhang2013-06-181-0/+50
| | | | | | | | | | | | | eglibc could be configured to build without the wordexp feature. To ensure that the wordexp feature could be used, the configure script must check if wordexp() is supported in libc in addition to checking if wordexp.h exists. (From OE-Core rev: 3c3fe1d139fc84d7ff125f87a4692fac6dfc04e6) Signed-off-by: Hong H. Pham <hong.pham@windriver.com> Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: Change function type to "static __inline__"Jesse Zhang2013-06-181-0/+63
| | | | | | | | | | | | | | | | | | | "extern __inline__ function()" is the inlined version that can be used in this compilation unit, but there will be another definition of this function somewhere, so compiler will not emit any code for the function body. This causes problem in -O0, where functions are never inlined, the function call is preserved, but linker can't find the symbol, thus the error happens. since no packages provide atomic_add and atomic_sub, and -O0 Optimize is hoped to keep for debug, we can change extern to static to fix this problem. (From OE-Core rev: d0af30c92fdea6f48afb4ab1fde69f1b636e8203) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade to 1.0.26Cristian Iorga2013-02-153-0/+50
(From OE-Core rev: 759191ee0b11231e1719bd5c66ac0afbd02e2a80) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>