summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2008-11-19 16:18:41 +0000
committerRoss Burton <ross@linux.intel.com>2008-12-01 17:56:29 +0000
commit13ac7cba377e08ac3b62d202b94abe329cf72924 (patch)
tree912223cd512b883e5d7286ec0a17fa55f362b051
parent1a5ccf1dde4a3814c702f48478587afef037340d (diff)
downloadpoky-13ac7cba377e08ac3b62d202b94abe329cf72924.tar.gz
Add gst-plugin-pulse
-rw-r--r--meta-openmoko/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch13
-rw-r--r--meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb29
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-openmoko/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch b/meta-openmoko/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
new file mode 100644
index 0000000000..377a4f9589
--- /dev/null
+++ b/meta-openmoko/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
@@ -0,0 +1,13 @@
1Index: gst-pulse-0.9.7/src/pulsesink.c
2===================================================================
3--- gst-pulse-0.9.7.orig/src/pulsesink.c
4+++ gst-pulse-0.9.7/src/pulsesink.c
5@@ -477,6 +477,8 @@ static guint gst_pulsesink_write(GstAudi
6 length -= l;
7
8 sum += l;
9+
10+ usleep( 500 );
11 }
12
13 pa_threaded_mainloop_unlock(pulsesink->mainloop);
diff --git a/meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb b/meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb
new file mode 100644
index 0000000000..cfa200ef3d
--- /dev/null
+++ b/meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb
@@ -0,0 +1,29 @@
1DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source"
2HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/"
3LICENSE = "GPL"
4DEPENDS = "gstreamer pulseaudio gst-plugins-base"
5PR = "r1"
6
7SRC_URI = "http://0pointer.de/lennart/projects/gst-pulse/gst-pulse-${PV}.tar.gz \
8 file://dont-overload-pulseaudio.patch;patch=1"
9S = "${WORKDIR}/gst-pulse-${PV}"
10
11inherit autotools
12
13EXTRA_OECONF = "--disable-lynx"
14GST_LIBV = 0.10
15
16do_install() {
17 install -d ${D}${libdir}/gstreamer-${GST_LIBV}/
18 install -m 0755 src/.libs/libgstpulse.so ${D}${libdir}/gstreamer-${GST_LIBV}
19}
20
21export GST_MODDIR=${libdir}/gstreamer-0.10
22
23FILES_${PN} = "${libdir}/gstreamer-0.10/libgstpulse.so"
24FILES_${PN}-dev = "\
25 ${libdir}/gstreamer-0.10/libgstpulse.a \
26 ${libdir}/gstreamer-0.10/libgstpulse.la \
27 ${libdir}/gstreamer-0.10/libgstpulse.so*"
28FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
29