[oe-commits] org.oe.dev gst-plugin-pulse 0.9.7 add patch reducing 20% of the load due to some busylooping

mickeyl commit openembedded-commits at lists.openembedded.org
Wed Feb 13 12:05:49 UTC 2008


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

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 8e9b95fbeaf20709837942b05d2eff92004df535
ViewMTN: http://monotone.openembedded.org/revision/info/8e9b95fbeaf20709837942b05d2eff92004df535
Files:
1
packages/gstreamer/gst-plugin-pulse
packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
packages/gstreamer/gst-plugin-pulse_0.9.7.bb
Diffs:

#
# mt diff -r26932c1868d2c936be488a377a426a567f9b099b -r8e9b95fbeaf20709837942b05d2eff92004df535
#
# 
# 
# add_dir "packages/gstreamer/gst-plugin-pulse"
# 
# add_file "packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch"
#  content [983f98f4a785983ba5ee43545808ddd20911b92a]
# 
# patch "packages/gstreamer/gst-plugin-pulse_0.9.7.bb"
#  from [c5556734ddb08e6598f9977cfab0a4291ccd955b]
#    to [5554f865191f1f521ae855a40f67b2d8b13bc4ac]
# 
============================================================
--- packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch	983f98f4a785983ba5ee43545808ddd20911b92a
+++ packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch	983f98f4a785983ba5ee43545808ddd20911b92a
@@ -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);
============================================================
--- packages/gstreamer/gst-plugin-pulse_0.9.7.bb	c5556734ddb08e6598f9977cfab0a4291ccd955b
+++ packages/gstreamer/gst-plugin-pulse_0.9.7.bb	5554f865191f1f521ae855a40f67b2d8b13bc4ac
@@ -1,12 +1,13 @@ DEPENDS = "gstreamer pulseaudio"
 DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source"
 HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/"
 LICENSE = "GPL"
 DEPENDS = "gstreamer pulseaudio"
-PR = "r0"
+PR = "r1"
 
 DEFAULT_PREFERENCE = "-1"
 
-SRC_URI = "http://0pointer.de/lennart/projects/gst-pulse/gst-pulse-${PV}.tar.gz"
+SRC_URI = "http://0pointer.de/lennart/projects/gst-pulse/gst-pulse-${PV}.tar.gz \
+	file://dont-overload-pulseaudio.patch;patch=1"
 S = "${WORKDIR}/gst-pulse-${PV}"
 
 inherit autotools






More information about the Openembedded-commits mailing list