[Webkit-unassigned] [Bug 36299] Volume control not correctly initialized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 23 03:42:19 PST 2010


Philippe Normand <pnormand at igalia.com> changed:

           What    |Removed                     |Added
                 CC|                            |pnormand at igalia.com

--- Comment #3 from Philippe Normand <pnormand at igalia.com>  2010-11-23 03:42:20 PST ---
So after some investigation on this issue, the previous mute/volume notifications we got from PulseAudio were not going up to the MediaPlayer (and HTMLMediaElement). The one-shot Timers used to do so were simply never fired.

It seems that the loop processing the Timers in ThreadTimers.cpp is in some cases triggered too late for the one-shot-now (startOneShot(0)) Timers and thus they are ignored. This whole code relying on currentTime() value is quite fragile IMHO.

I tried to replace the Timer class implementation with a new implementation using g_timeout and skipping the ThreadTimers processing but then some tests started to fail, I could fix some but not all, so for now I decided to add that TimerGlib standalone implementation and keep the Timer one.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list