[gstreamer-bugs] [Bug 545807] [baseaudiosink] audible crack when starting the pipeline
bugzilla-daemon at bugzilla.gnome.org
Wed Apr 22 03:12:48 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gst-plugins-base | Ver: git
------- Comment #9 from Stefan Kost (gstreamer, gtkdoc dev) 2009-04-22 10:12 UTC -------
It also work if this is done after setting up spec->seglatency. Then it won't
change the latency.
@@ -379,6 +379,9 @@ gst_audioringbuffer_acquire (GstRingBuffer * buf,
GstRingBufferSpec * spec)
/* set latency to one more segment as we need some headroom */
spec->seglatency = spec->segtotal + 1;
+ /* http://bugzilla.gnome.org/show_bug.cgi?id=545807 */
+ spec->segtotal += 4;
buf->data = gst_buffer_new_and_alloc (spec->segtotal * spec->segsize);
memset (GST_BUFFER_DATA (buf->data), 0, GST_BUFFER_SIZE (buf->data));
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=545807.
More information about the Gstreamer-bugs