On Tue, May 15, 2018 at 11:23:33PM +0200, Alexandre Ratchov wrote: > Maybe you've noticed that somtimes sound volume in firefox doesn't > match the volume indicator until you touch it. > > This is because the firefox audio API has no volume getter and assumes > the initial volume is 1, while sndio saves volumes and allows volume > to be controlled externally, which makes firefox use a wrong > representation of the actual volume. > > The workaround is to do like alsa, pulseaudio and other backends: stop > using the native volume control and adjust the volume of the signal in > firefox.
Well, you know my policy about carrying patches... first file a bug upstream, get your patch reviewed (probably by padenot) and commited, and then i'll happily okay a backport to our port. The logic sounds right, unless a getter for the volume has been implemented since then in central/beta or is in the works. Hence, better discussing it upstream :)
