← Back to team overview

ubuntu-phone team mailing list archive

Re: Fixing Volume Controls

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01.10.2015 19:50, Matthew Paul Thomas wrote:
> It seems like a weird thing to allow, sure. But consider the 
> consequence if we forced all app volume sliders to be
> app-specific. Instead of having two, or three, or four audio output
> roles, we would now have, effectively, at least one role for each
> app that outputs audio. You have ten apps installed that can output
> audio? You'd now have at least ten roles.
[...]

I'd propose to take one step back and look at another approach: let
the hardware volume keys control the master volume only, and make all
apps' volume a fraction of the master volume (as it is in Ubuntu
desktop). That is, if the phone has been set to silent mode, no app
should ever be able to play a sound (OK, with one exception: clock
alarms).

An app can have its own volume control, but with the understanding
that 100% only means "play at the system volume level", never louder
than that.

This would have the consequence that apps might not even need to
implement their volume control (except for a "mute" button), and that
the hardware volume buttons would always do the right thing.

Ciao,
  Alberto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlYON08ACgkQVLQegMXeCFIZDACcCAvW+C5yZ2ZIjY+zGEK48N0k
3DAAnA5cBFNu8jE0Dzn6x8n6MfZ2Iwcv
=5aWS
-----END PGP SIGNATURE-----


Follow ups

References