[Bug 781249] directsoundsrc: Correctly calculate segsize and segtotal

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 13 07:33:32 UTC 2017


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

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 349766
  --> https://bugzilla.gnome.org/attachment.cgi?id=349766&action=edit
directsoundsrc: Correctly calculate segsize and segtotal

segsize should be based on latency-time, and must be a multiple of the
frame size. segtotal should be based on buffer-time and segsize.

This prevents errors caused by outputting buffers that are not a
multiple of the frame size, and actually makes the buffer-time and
latency-time properties do what they're supposed to do.

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