[Bug 773681] directsoundsink: High cpu usage on windows x86

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 7 09:41:31 UTC 2016


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

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Nicolas Dufresne (stormer) from comment #5)
> Wow, both the code before and after seems odd.

They do, just look at the whole of directsoundsink :) The Windows specific
elements need some love in general... and for sound we should also move to
wasapi.

> We could use this function, or even better, implement a clock on top of that
> (async timers could be scheduled this way).

The sleep there basically "implements" a GstClock around the system clock as
apparently used by DirectSound here... in a not so nice way.


The main question here right now is what is wrong with that specific commit?
Why does it cause too short sleeps?

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