From beceaa55e19d1395d2a11e0c57e203f8f6f78bc1 Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Version 0.9.7 released; make the sink actually work by fixing a brown paperbag bug introduced in 0.9.6.
+Version 0.9.6 released; add support for S32 samples, add channel map support to the source element, too.
@@ -77,7 +80,7 @@ it includes both a sink and a source, and implements the GstMixer and GstPropertyProbe interfaces. Only the ALSA plugin shipped with upstream GStreamer is as advanced and featureful as gst-pulse. - +There is not much to say. Just install this software, the driver is @@ -96,7 +99,7 @@ source code configuration.
Obviously gst-pulse requires an installation of PulseAudio (version 0.9.x) and gstreamer 0.10.x.
- +As this package is made with the GNU autotools you should run diff --git a/src/pulsesink.c b/src/pulsesink.c index d7039a7..f188bd5 100644 --- a/src/pulsesink.c +++ b/src/pulsesink.c @@ -396,7 +396,7 @@ static gboolean gst_pulsesink_prepare(GstAudioSink *asink, GstRingBufferSpec *sp memset(&buf_attr, 0, sizeof(buf_attr)); buf_attr.tlength = spec->segtotal*spec->segsize; buf_attr.maxlength = buf_attr.tlength*2; - buf_attr.prebuf = buf_attr.tlength*2; + buf_attr.prebuf = buf_attr.tlength-spec->segsize; buf_attr.minreq = spec->segsize; if (pa_stream_connect_playback(pulsesink->stream, pulsesink->device, &buf_attr, PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_AUTO_TIMING_UPDATE|PA_STREAM_NOT_MONOTONOUS, NULL, NULL) < 0) { -- cgit