Pulseaudio stream volumes are not set correctly after changing in pavucontrol




2 years ago
2 months ago


(Reporter: hcs, Unassigned)


51 Branch

Firefox Tracking Flags

(Not tracked)




2 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170126200443

Steps to reproduce:

With the flat volume daemon option enabled and the stream-restore pulse module loaded:

1. Open a video in youtube or a music file (e.g. https://upload.wikimedia.org/wikipedia/commons/d/db/Satie_Gymnopedie_No_3_performed_by_Michael_Laucke.flac)
2. Lower the volume using the slider in the website.
2a. You can also change the volume directly in pavucontrol and observe the same behavior.
3. Observe it changes the volume in pavucontrol.
4. Refresh the page

Actual results:

The volume on the pavucontrol slider is at 100% and there is a new (second) entry in pavucontrol for firefox.

Expected results:

It would be nice if the volume could be remembered. This is most useful on youtube, where if you are listening to a playlist and change the volume with pavucontrol, it is not remembered by the stream-restore module for some reason. Youtube's behavior is strange though because youtube itself remembers its volume setting, so this problem only surfaces when you change the volume via pavucontrol (and then view another video).

Comment 1

2 years ago
Possibly related: 1049478, 845648
Can reproduce with the following user agent:
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Ever confirmed: true
Component: Audio/Video: Playback → Audio/Video: cubeb
Rank: 29
Priority: -- → P2
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
This happens with flat volumes off as well. The problem is a little different. Moving the media player volume slider makes PulseAudio slider for the Firefox stream move as should. Moving the PA sldier for Firefox in pavucontrol with the mouse DOES change the effective volume, but the slider does not visually move at all on Firefox's media player.
Depends on: 1049480
No longer depends on: 1049480
You need to log in before you can comment on or make changes to this bug.