From 1700b4c84455186bc1d2f80bfc4ea65b51736cdb Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 15 Nov 2009 18:11:53 +0100 Subject: libcanberra: add libcanberra-increase-buffer-size.patch from shr/import --- .../pulseaudio/files/libcanberra-increase-buffer-size.patch | 13 +++++++++++++ recipes/pulseaudio/libcanberra_0.14.bb | 5 +++-- recipes/pulseaudio/libcanberra_0.17.bb | 5 +++-- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch diff --git a/recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch b/recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch new file mode 100644 index 0000000000..1005d78689 --- /dev/null +++ b/recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch @@ -0,0 +1,13 @@ +Index: libcanberra-0.14/src/alsa.c +=================================================================== +--- libcanberra-0.14.orig/src/alsa.c ++++ libcanberra-0.14/src/alsa.c +@@ -272,7 +272,7 @@ + return translate_error(ret); + } + +-#define BUFSIZE (16*1024) ++#define BUFSIZE (128*1024) + + static void* thread_func(void *userdata) { + struct outstanding *out = userdata; diff --git a/recipes/pulseaudio/libcanberra_0.14.bb b/recipes/pulseaudio/libcanberra_0.14.bb index f9388e17cf..85dca9a3fe 100644 --- a/recipes/pulseaudio/libcanberra_0.14.bb +++ b/recipes/pulseaudio/libcanberra_0.14.bb @@ -5,12 +5,13 @@ DEPENDS = "alsa-lib gstreamer gtk+ libvorbis pulseaudio" SECTION = "libs/multimedia" AUTHOR = "Lennart Poettering" HOMEPAGE = "http://0pointer.de/lennart/projects/libcanberra" -PR = "r1" +PR = "r2" inherit autotools_stage AUTOTOOLS_STAGE_PKGCONFIG = "1" -SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz" +SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ + file://libcanberra-increase-buffer-size.patch;patch=1" EXTRA_OECONF = "\ --enable-alsa \ diff --git a/recipes/pulseaudio/libcanberra_0.17.bb b/recipes/pulseaudio/libcanberra_0.17.bb index a0b63069f1..def42e6d0a 100644 --- a/recipes/pulseaudio/libcanberra_0.17.bb +++ b/recipes/pulseaudio/libcanberra_0.17.bb @@ -5,12 +5,13 @@ DEPENDS = "alsa-lib gstreamer gtk+ libtool libvorbis" SECTION = "libs/multimedia" AUTHOR = "Lennart Poettering" HOMEPAGE = "http://0pointer.de/lennart/projects/libcanberra" -PR = "r2" +PR = "r3" inherit autotools_stage vala AUTOTOOLS_STAGE_PKGCONFIG = "1" -SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz" +SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ + file://libcanberra-increase-buffer-size.patch;patch=1" EXTRA_OECONF = "\ --enable-alsa \ -- cgit v1.2.3