[gstreamer-bugs] [Bug 545807] [baseaudiosink] audible crack when starting the pipeline

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 1 00:58:09 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:
  http://bugzilla.gnome.org/show_bug.cgi?id=545807

  GStreamer | gst-plugins-base | Ver: git




------- Comment #17 from Wim Taymans  2009-05-01 07:58 UTC -------
to Comment #16: the software ringbuffer must at least be as big as the hardware
buffer, this is a hard requirement. We currently query the hardware buffer and
set the ringbuffer to that size + 1 period.

A better solution would be to keep the hardware read pointer and our write
pointer within a reasonable distance regardless of hw write() behaves and
blocks. The sunaudio driver has something like that. The thing is that all
alternatives to write() have historically been very flaky on many alsa
implementations. What we really want to use is plain mmap (like pulseaudio) and
fix all the alsa driver out there that would fail.


-- 
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 mailing list