[Webkit-unassigned] [Bug 83704] [EFL][GTK] media/event-attributes.html fails if mixer is not at 100%

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 05:37:39 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83704





--- Comment #17 from Jussi Kukkonen <jussi.kukkonen at intel.com>  2012-09-17 05:38:07 PST ---
Oh, there's a bug in the patch: it sets the volume to "100" (without units): the result depends on the hardware (on my HW it ends up as <0.01%). should be "100%".

Patch WFM after fixing that -- although it's a nasty hack: setting system volume to 100% even for a short time is just wrong.


Also, documenting what I've learned on this for the benefit of anyone else trying to figure it out:
* This phenomenon of extra volume events is a feature of Pulseaudio as Philippe says (flat volumes + stream volume restore): we cannot tell beforehand what the volume of a stream will be.
* It seems to be spec compliant
* We as a pulseaudio using app cannot really avoid this even if we wanted to (at least I have not figured out how that is possible). The volume we show in UI and JS has to be the playbin volume (which usually, but not necessarily, is a PA stream volume).
* The additional volumechange and mutechange events are _unavoidable_, but we can make them happen in a more reasonable point in time: the data is available when we reach GST_STATE_PAUSED (instead of getting them after playback starts). This is a different bug though, I'll file that.

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