[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
Wed Sep 19 01:27:40 PDT 2012


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





--- Comment #19 from Jussi Kukkonen <jussi.kukkonen at intel.com>  2012-09-19 01:28:10 PST ---
I came back to thinking about this because we really should have unskipped tests before poking things like bug 96912.

I'm not very familiar with the test system itself but... would it be ok to compile a PA-using app that modifies the saved stream volume for this process  (based on the name "WebProcess" or whatever) before starting the test (so we could make sure the volume is 100% or another value), and then puts it back to what it was after testing? 

This would have the least effect on the system: no "system volume" changes and no changes to already running WebProcesses: only WebProcesses started after running this setup-app would be affected. The code itself is not complex (couple of call to pulse/ext-stream-restore.h and the logic to save the old values) and I believe it would replace both the amixer trick in the patch and PulseAudioSanitizer class already in the repo.

Unfortunately there's no python api for this and doing this with ctypes would require more knowledge than I have... So, is adding compiled test-setup-apps that depend on libpulse a bad idea? If it is then let's just get that amixer patch committed.

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