[Bug 796354] wasapi: playback noise

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 23 18:13:34 UTC 2018


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

--- Comment #9 from Christoph Reiter (lazka) <reiter.christoph at gmail.com> ---
So the problem seems to be that in write() we WaitForSingleObject() every time
for a new buffer which returns after is has space for 448 frames, but we always
write 447 frames after that, slowly starving it.

What I'm wondering is what the ideal implementation of the write() function is
supposed to be. Wouldn't it be better to only sleep when we can't fit our data
into the buffer?

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