diff options
Diffstat (limited to 'meta-openmoko/packages')
-rw-r--r-- | meta-openmoko/packages/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch | 13 | ||||
-rw-r--r-- | meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb | 29 |
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 @@ | |||
1 | Index: 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 @@ | |||
1 | DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source" | ||
2 | HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "gstreamer pulseaudio gst-plugins-base" | ||
5 | PR = "r1" | ||
6 | |||
7 | SRC_URI = "http://0pointer.de/lennart/projects/gst-pulse/gst-pulse-${PV}.tar.gz \ | ||
8 | file://dont-overload-pulseaudio.patch;patch=1" | ||
9 | S = "${WORKDIR}/gst-pulse-${PV}" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | EXTRA_OECONF = "--disable-lynx" | ||
14 | GST_LIBV = 0.10 | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${libdir}/gstreamer-${GST_LIBV}/ | ||
18 | install -m 0755 src/.libs/libgstpulse.so ${D}${libdir}/gstreamer-${GST_LIBV} | ||
19 | } | ||
20 | |||
21 | export GST_MODDIR=${libdir}/gstreamer-0.10 | ||
22 | |||
23 | FILES_${PN} = "${libdir}/gstreamer-0.10/libgstpulse.so" | ||
24 | FILES_${PN}-dev = "\ | ||
25 | ${libdir}/gstreamer-0.10/libgstpulse.a \ | ||
26 | ${libdir}/gstreamer-0.10/libgstpulse.la \ | ||
27 | ${libdir}/gstreamer-0.10/libgstpulse.so*" | ||
28 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" | ||
29 | |||