[Bug 774819] alsasink: do wait in write() only if really needed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 23 12:45:43 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774819

--- Comment #5 from Jan Schmidt <thaytan at noraisin.net> ---
That behaviour makes sense to me:

With alsasink, there's the hardware ringbuffer (200ms by default, or whatever
the hardware can support), and the GStreamer ringbuffer (200ms + 1 segment by
default). The writing thread transfers buffers to ALSA as fast as it can, and
is allowed to write at 1-segment-per-segment-output-by-ALSA. If the GStreamer
ringbuffer is empty, it'll write a segment of silence - but a live stream has
to run at least 200ms late before the GStreamer ringbuffer can be empty and
cause that to happen.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list