summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-15 18:11:53 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-07 12:51:26 +0100
commit1700b4c84455186bc1d2f80bfc4ea65b51736cdb (patch)
treea370add1bcee1fd0f9b6390e357c84a110742fab /recipes/pulseaudio
parent2ccd9f2b121b27319fc8a51255e8ad0b879726b2 (diff)
libcanberra: add libcanberra-increase-buffer-size.patch from shr/import
Diffstat (limited to 'recipes/pulseaudio')
-rw-r--r--recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch13
-rw-r--r--recipes/pulseaudio/libcanberra_0.14.bb5
-rw-r--r--recipes/pulseaudio/libcanberra_0.17.bb5
3 files changed, 19 insertions, 4 deletions
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 \