alsa-lib: 1.0.28 -> 1.0.29
PATCH 1/1 alsa-lib: 1.0.28 -> 1.0.29
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 <[email protected]>
--- ...al.h-include-time.h-to-enable-CLOCK_MONOT.patch | 32 -- ...1-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch | 34 -- ...se-get32-for-multi-source-route-calculati.patch | 345 --------------------- .../alsa/alsa-lib/fix-tstamp-declaration.patch | 21 -- meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb | 54 ---- meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb | 50 +++ 6 files changed, 50 insertions(+), 486 deletions(-) delete mode 100755 meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch delete mode 100755 meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch delete mode 100755 meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-route-Use-get32-for-multi-source-route-calculati.patch delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib/fix-tstamp-declaration.patch delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb create mode 100644 meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb
meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From f6b879e7cc87d83343f5004369146881d1d1e335 Mon Sep 17 00:00:00 2001 -From: Shengjiu Wang <[email protected]> -Date: Wed, 23 Jul 2014 15:09:58 +0800 -Subject: [PATCH] pcm: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC - -CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>. - -Commit f6b879e7cc87d83343f5004369146881d1d1e335 in master branch - -Upstream Status: Backported - -Signed-off-by: Shengjiu Wang <[email protected]> -Signed-off-by: Takashi Iwai <[email protected]> ---- - src/pcm/pcm_local.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h -index 2206afe..80bbe59 100644 ---- a/src/pcm/pcm_local.h -+++ b/src/pcm/pcm_local.h -@@ -24,6 +24,7 @@ - #include <stdlib.h> - #include <limits.h> - #include <sys/uio.h> -+#include <time.h> - #include <sys/time.h> - - #define _snd_mask sndrv_mask --- -1.7.9.5 -
meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 035f196bcdc1e9903ed52ad1859dc23d3aa74e72 Mon Sep 17 00:00:00 2001 -From: Shengjiu Wang <[email protected]> -Date: Mon, 14 Jul 2014 16:55:48 +0800 -Subject: [PATCH] pcm: rate: fix hw_ptr exceed the boundary - -For long time test case, the hw_ptr will exceed the boundary, then cause -the avail size wrong. - -Commit is 035f196bcdc1e9903ed52ad1859dc23d3aa74e72 in master branch - -Upstream Status: Backported - -Signed-off-by: Shengjiu Wang <[email protected]> -Signed-off-by: Takashi Iwai <[email protected]> ---- - src/pcm/pcm_rate.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c -index 7f667d4..2563d82 100644 ---- a/src/pcm/pcm_rate.c -+++ b/src/pcm/pcm_rate.c -@@ -574,6 +574,8 @@ static inline void snd_pcm_rate_sync_hwptr(snd_pcm_t *pcm) - rate->hw_ptr = - (slave_hw_ptr / rate->gen.slave->period_size) * pcm->period_size + - rate->ops.input_frames(rate->obj, slave_hw_ptr % rate->gen.slave->period_size); -+ -+ rate->hw_ptr %= pcm->boundary; - } - - static int snd_pcm_rate_hwsync(snd_pcm_t *pcm) --- -1.7.9.5 -
meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-route-Use-get32-for-multi-source-route-calculati.patch deleted +0 -345
345 lines not on this page · raw message
meta/recipes-multimedia/alsa/alsa-lib/fix-tstamp-declaration.patch deleted +0 -21
@@ -1,21 +0,0 @@ -# Author: Michael Lauer <[email protected]> -# Date: Thu Jan 18 00:27:21 2007 +0000 -# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options -# -# Acquired from OpenEmbedded - -Upstream-Status: Pending - -Index: alsa-lib-1.0.13/include/global.h -=================================================================== ---- alsa-lib-1.0.13.orig/include/global.h -+++ alsa-lib-1.0.13/include/global.h -@@ -29,6 +29,8 @@ - #define __ALSA_GLOBAL_H_ - - /* for timeval and timespec */ -+#define __need_timeval -+#define __need_timespec - #include <time.h> - - #ifdef __cplusplus
meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb deleted +0 -54
54 lines not on this page · raw message
meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
1.9.3