summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-11-22 16:20:32 +0000
committerLennart Poettering <lennart@poettering.net>2007-11-22 16:20:32 +0000
commitbeceaa55e19d1395d2a11e0c57e203f8f6f78bc1 (patch)
tree766f7dc686ab7e1822eabf1837cbab204d118669
parent2bcac7c5a252e500f201010b664ff42676bb577e (diff)
unbreak gst-pulse
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@77 bb39ca4e-bce3-0310-b5d4-eea78a553289
-rw-r--r--configure.ac2
-rw-r--r--doc/README.html.in7
-rw-r--r--src/pulsesink.c2
3 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8a3b767..2012f79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
AC_PREREQ(2.57)
-AC_INIT([gst-pulse],[0.9.6],[mztfgchyfr (at) 0pointer (dot) de])
+AC_INIT([gst-pulse],[0.9.7],[mztfgchyfr (at) 0pointer (dot) de])
AC_CONFIG_SRCDIR([src/plugin.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign 1.9 -Wall])
diff --git a/doc/README.html.in b/doc/README.html.in
index 91f0205..12a81a9 100644
--- a/doc/README.html.in
+++ b/doc/README.html.in
@@ -43,6 +43,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</p>
<h2><a name="news">News</a></h2>
<div class="news-date">Thu Nov 22 2007: </div> <p class="news-text"><a
+href="@PACKAGE_URL@gst-pulse-0.9.7.tar.gz">Version 0.9.7</a> released; make the sink actually work by fixing a brown paperbag bug introduced in 0.9.6.</p>
+
+<div class="news-date">Thu Nov 22 2007: </div> <p class="news-text"><a
href="@PACKAGE_URL@gst-pulse-0.9.6.tar.gz">Version 0.9.6</a> released; add support for S32 samples, add channel map support to the source element, too.</p>
<div class="news-date">Tue Oct 30 2007: </div> <p class="news-text"><a
@@ -77,7 +80,7 @@ it includes both a sink and a source, and implements the
<tt>GstMixer</tt> and <tt>GstPropertyProbe</tt> interfaces. Only the
ALSA plugin shipped with upstream GStreamer is as advanced and
featureful as <tt>gst-pulse</tt>.</p>
-
+
<h2><a name="documentation">Documentation</a></h2>
<p>There is not much to say. Just install this software, the driver is
@@ -96,7 +99,7 @@ source code configuration.</p>
<p>Obviously <tt>gst-pulse</tt> requires an installation of
<a href="http://pulseaudio.org/">PulseAudio</a> (version 0.9.x) and <tt>gstreamer</tt> 0.10.x.</p>
-
+
<h2><a name="installation">Installation</a></h2>
<p>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) {