summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch')
-rw-r--r--recipes/pulseaudio/files/libcanberra-increase-buffer-size.patch13
1 files changed, 13 insertions, 0 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;