summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-13 11:40:41 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-13 11:40:41 +0000
commitbe3c2cc81c9a84026a62cc3566848f1871bf22f6 (patch)
tree97952635d834adc563d5fc0cecf6a7f7bdf33d1b /packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
parentebd8ca1a732bb964f503b170acb87c0a043651c3 (diff)
gst-plugin-pulse 0.9.7 add patch reducing 20% of the load due to some busylooping
NOTE: need to play more with that to find out whether we can get even more
Diffstat (limited to 'packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch')
-rw-r--r--packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch b/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
new file mode 100644
index 0000000000..377a4f9589
--- /dev/null
+++ b/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
@@ -0,0 +1,13 @@
+Index: gst-pulse-0.9.7/src/pulsesink.c
+===================================================================
+--- gst-pulse-0.9.7.orig/src/pulsesink.c
++++ gst-pulse-0.9.7/src/pulsesink.c
+@@ -477,6 +477,8 @@ static guint gst_pulsesink_write(GstAudi
+ length -= l;
+
+ sum += l;
++
++ usleep( 500 );
+ }
+
+ pa_threaded_mainloop_unlock(pulsesink->mainloop);