Closed Bug 1297998 Opened 9 years ago Closed 8 years ago

Volume reset

Categories

(Core :: Audio/Video: cubeb, defect)

47 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: firefox, Unassigned, NeedInfo)

Details

(Whiteboard: [need info reporter 2017-1-27])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce: Playing audio on multiple sites (tested on Outlook OWA and http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all ) Actual results: System volume reset from roughly 8% to 70% - there's a reason it's so low... Expected results: System volume should not have been changed
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Are you using PulseAudio or ALSA?
Component: Audio/Video: Playback → Audio/Video: cubeb
Per Anthony's question, are you using PulseAudio or ALSA? Details about the brand and version of your Linux may also be helpful. I can't reproduce this locally. On Fedora 24 with Pulseaudio 8.0, playing http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all with various volumes set on the audio element alters the stream volume visible in the Sound->Applications UI but never touches the system-level "Output volume". This sounds like the behaviour seen with flat-volumes enabled in the PulseAudio server (https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Clients_alter_master_output_volume_.28a.k.a._volume_jumps_to_100.25_after_running_application.29) but we try to avoid triggering that by querying the PA server for PA_SINK_FLAT_VOLUME and using our own volume adjustment when flat-volumes are enabled.
Flags: needinfo?(firefox)
Whiteboard: [needinfo 2016-08-28 to reporter]
Sorry, crazy busy. openSUSE 13.2 x64 KDE Yast's Sound options says Pulseaudio is enabled. $ zypper info pulseaudio Repository: openSUSE-13.2-Update Name: pulseaudio Version: 5.0-4.21.1 Arch: x86_64 Vendor: openSUSE Installed: Yes [...snip...]
Flags: needinfo?(firefox)
Whiteboard: [needinfo 2016-08-28 to reporter]
I try to repro in a Fedora 24 as well but not possible. I flip the flat pref on pulse daemon but again not repro. Can you please capture some logs hopping to see something useful there? It would be better to capture the logs with the latest Nightly version of firefox. In order to do that download Nightly, export the following env var before run it, and run it. export MOZ_LOG=cubeb:4 ./path/to/nightly/firefox Logs will appear on screen (stdout), please copy and paste them to a file and attach them here.
Flags: needinfo?(firefox)
Whiteboard: [need info reporter 2017-1-27]
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.