[Bug 796354] wasapi: playback noise

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 24 09:50:34 UTC 2018


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

--- Comment #16 from Christoph Reiter (lazka) <reiter.christoph at gmail.com> ---
Created attachment 372377
  --> https://bugzilla.gnome.org/attachment.cgi?id=372377&action=edit
wasapisink: fix a rounding error when calculating the  buffer frame count

The calculation for the frame count in the non-aligned case resulted in
a one too low buffer frame count.

This resulted in:
1) exclusive mode not working as the frame count has to match
   exactly there.
2) Buffer underruns in shared mode as the current write() code doesn't
   handle catching up to low buffer levels (fixed in the next commit)

To fix just use the wasapi API to get the buffer size which will always
be correct.

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