Add gst-plugin-pulse

This commit is contained in:
Ross Burton 2008-11-19 16:18:41 +00:00
parent 1a5ccf1dde
commit 13ac7cba37
2 changed files with 42 additions and 0 deletions

View File

@ -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);

View File

@ -0,0 +1,29 @@
DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source"
HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/"
LICENSE = "GPL"
DEPENDS = "gstreamer pulseaudio gst-plugins-base"
PR = "r1"
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
EXTRA_OECONF = "--disable-lynx"
GST_LIBV = 0.10
do_install() {
install -d ${D}${libdir}/gstreamer-${GST_LIBV}/
install -m 0755 src/.libs/libgstpulse.so ${D}${libdir}/gstreamer-${GST_LIBV}
}
export GST_MODDIR=${libdir}/gstreamer-0.10
FILES_${PN} = "${libdir}/gstreamer-0.10/libgstpulse.so"
FILES_${PN}-dev = "\
${libdir}/gstreamer-0.10/libgstpulse.a \
${libdir}/gstreamer-0.10/libgstpulse.la \
${libdir}/gstreamer-0.10/libgstpulse.so*"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"