From be3c2cc81c9a84026a62cc3566848f1871bf22f6 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 13 Feb 2008 11:40:41 +0000 Subject: 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 --- packages/gstreamer/gst-plugin-pulse/.mtn2git_empty | 0 .../gst-plugin-pulse/dont-overload-pulseaudio.patch | 13 +++++++++++++ packages/gstreamer/gst-plugin-pulse_0.9.7.bb | 5 +++-- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 packages/gstreamer/gst-plugin-pulse/.mtn2git_empty create mode 100644 packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch (limited to 'packages/gstreamer') diff --git a/packages/gstreamer/gst-plugin-pulse/.mtn2git_empty b/packages/gstreamer/gst-plugin-pulse/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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); diff --git a/packages/gstreamer/gst-plugin-pulse_0.9.7.bb b/packages/gstreamer/gst-plugin-pulse_0.9.7.bb index a1e321c73e..5a83f3915b 100644 --- a/packages/gstreamer/gst-plugin-pulse_0.9.7.bb +++ b/packages/gstreamer/gst-plugin-pulse_0.9.7.bb @@ -2,11 +2,12 @@ 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 -- cgit v1.2.3