summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib
Commit message (Collapse)AuthorAgeFilesLines
* alsa-lib: upgrade 1.2.10 -> 1.2.11Michael Opdenacker2024-02-082-52/+38
| | | | | | | | | | | | - Upstream release update See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11 - Remove merged patch - Add new patch merged after the release (From OE-Core rev: 5260a5e2316bb8d20cfb20e345f7aefe936a0da5) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: fix patch Upstream-StatusMichael Opdenacker2023-09-211-1/+1
| | | | | | | | | | Using "Backport" instead of "Accepted", as instructed on https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes (From OE-Core rev: eb730ca78c6408513f3443d5017c3ae1504ae323) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade 1.2.9 -> 1.2.10Michael Opdenacker2023-09-201-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: - Fix symver build error on non-ELF platforms - ucm: main - remove cast to pointer from integer of different size warning - ucm: mark internal functions static - topology: fix src/mixer/mixer.c return value warning - dogyxen: fix topology.h warnings - doxygen: fix broken examples links - doxygen: include docs for shmarea functions - doxygen: conf: do not hide PCM specific function - doxygen: silence warning from asoundlib.h - doxygen: ucm: silence warnings - doxygen: topology: silence 'not documented' warnings - doxygen: global: silence 'not documented' warnings - doxygen: namehint: silence 'not documented' warnings - doxygen: seq: silence 'not documented' warnings - doxygen: conf: silence 'not documented' warnings - doxygen: rawmidi: silence 'not documented' warnings - doxygen: control: silence 'not documented' item warnings - doxygen: pcm: silence 'not documented' warnings - doxygen: include external control docs - doxygen: fix inadvertent link requests - doxygen: fix list indentation errors - doxygen: escape xml tags - doxygen: fix image path - doxygen: fix broken parameter name tags - doxygen: Fix missing group end markers - reshuffle included files to include config.h as first - configure: add AC_SYS_LARGEFILE - seq: Fix wrong seq version update at snd_seq_hw_get_client_info() - seq: Add overflow check in snd_seq_ev_set_ump_data() - test: oldapi - fix the clang-16 compilation error - rawmidi: Suppress error messages for non-fatal errors - seq: ump: Fix typo in function name containing "group" - pcm: hw: fix minor bug in sw_params ioctl - seq: Add UMP 1.1 features - ump: Add UMP 1.1 features - uapi: Update rawmidi API to 2.0.4 - seq: Add UMP support - uapi: Update asequencer.h definitions for 1.0.3 - ump: Add helpers for handling SysEx data - ump: Add helpers to parse / set UMP packet data - control: Add UMP Endpoint and Block info query support - control: Add UMP device query support -- ump: Add initial support - rawmidi: Add UMP ioctl support - uapi: Update control API to 2.0.9 - uapi: Update rawmidi API to 2.0.3 - remove extra trailing new line in SNDMSG and SNDERR calls - usecase: add CaptureMicInfoFile field to documentation - include: fix SND_DLSYM_BUILD_VERSION() for static build - pcm: hw - prevent divide by zero for broken apps (From OE-Core rev: 232b6b7276b6b34edd1aa5292897a92e16235ecf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade 1.2.5 -> 1.2.5.1wangmy2021-06-171-41/+0
| | | | | | | | | | 0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch removed since it is included in 1.2.5.1 (From OE-Core rev: 293c6819a4c3ee397ff87ee73d42b5c85f2daf6c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade 1.2.4 -> 1.2.5Andreas Müller2021-06-062-31/+41
| | | | | | | | | | | | * Backported patch can go * See full changelog at [1] [1] https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.5 (From OE-Core rev: 2aa6eee190e123e224b34ed4521b095e2dbb780c) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa: upgrade 1.2.3 -> 1.2.4Alexander Kanavin2020-11-031-0/+31
| | | | | | | | | Backport a patch to fix musl builds. (From OE-Core rev: 5cafc3721cbe0193fb444adba4cc82a820f3f33f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: upgrade 1.2.1.2 -> 1.2.2Wang Mingyu2020-05-308-7528/+0
| | | | | | | | | | | | | | | | | 0001-Fix-alsa-sound-.h-for-external-programs.patch 0001-configure.ac-remove-an-unnecessary-libtool-fix.patch 0001-uapi-Move-typedefs-from-uapi-to-sound.patch 0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch 0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch 0003-namehint-correct-the-args-check.patch 0004-namehint-improve-the-previous-patch-check-the-return.patch 0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch removed since they are included in 1.2.2 (From OE-Core rev: 597482a455e6f1ea260a029e3f1b882024994a77) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: 1.1.9 -> 1.2.1.2Tanu Kaskinen2020-01-108-0/+7528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelogs: https://alsa-project.org/wiki/Changes_v1.1.9_v1.2.1 https://alsa-project.org/wiki/Changes_v1.2.1_v1.2.1.1 https://alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2 This upgrade brings support for the new "UCM2" configuration format. Another big change is that the UCM and topology configuration files were moved to separate repositories, so those are removed from alsa-lib and will need to be packaged separately. The topology API was moved from libasound to a separate libatopology library. This seems like a recipe for regressions for applications that used to use libasound for the topology stuff, but I don't think there are many applications in existence that use the topology API. I hope the upstream knows what they are doing. Patches added: 0001-configure.ac-remove-an-unnecessary-libtool-fix.patch This fixes a failure during configure. 0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch 0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch Backports. I don't know if these are regression fixes, but since the UCM code was heavily worked on in this upgrade, it seems likely that these patches fix regressions. 0003-namehint-correct-the-args-check.patch 0004-namehint-improve-the-previous-patch-check-the-return.patch Backports. A change in alsa-plugins caused a regression in the pulse plugin, but that was actually due to a bug in alsa-lib, which is fixed by these patches. 0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch Backport. Fixes a regression with some Intel hardware. 0001-Fix-alsa-sound-.h-for-external-programs.patch 0001-uapi-Move-typedefs-from-uapi-to-sound.patch Backports. These fix build failures in alsa-tools. I removed alsa-doc from PACKAGES, because no files were assigned to it. (From OE-Core rev: 966890009b4dd81abb72534192c688dbd1195d00) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: 1.1.4.1 -> 1.1.5Tanu Kaskinen2017-12-102-234/+0
| | | | | | | | | | | | | | | | | | | | | | | Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Dropped all patches. The poll.h patch is included in the release, and the wordexp patch is not needed any more, because the wordexp function is replaced by an internal reimplementation. It would still be possible to enable the use of wordexp with the --with-wordexp configure option. The option exists, because the internal reimplementation covers only part of what wordexp can do, so not using wordexp can in theory cause regressions. However, it seems that regressions are quite unlikely in practice. Here's some discussion about the topic: http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html (From OE-Core rev: 00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7) 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.3 -> 1.1.4.1Tanu Kaskinen2017-06-121-33/+0
| | | | | | | | | | | | | | Changelogs: http://alsa-project.org/main/index.php/Changes_v1.1.3_v1.1.4 http://alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.4.1 Dropped backported patch 0001-ucm-parser-needs-limits.h.patch. (From OE-Core rev: e2ede4f9080e8a01504067347eb69051dc04b6ed) 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.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>