[Bug 748680] directsoundsink: fix sleep for buffer-time lower than 200000

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 16 07:40:35 PST 2015


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

--- Comment #6 from Thomas Roos <thomas at roosesweb.de> ---
"You could also just access that at any point after prepare() from the spec
field of GstAudioBaseSink's ringbuffer field." -> I don't understand how to
access this in gst_directsound_sink_write. Could you please explain!?

And I also tried your suggestion for the calculation. But decided finally it's
best to do it like in directsoundsrc and use the latency-time in ms for the
sleep. It's because windows Sleep() function isn't correct enough to gain
something out of a correct calculation.

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