FWIW, Android apparently has exactly the same issue: volume buttons
control the active audio stream if there is one, and the ringer if there
isn’t, which is awkward if an app frequently plays sound but isn’t right
now. Their solution is for those kinds of app to call a
“setVolumeControlStream()” function when they launch.
<https://developer.android.com/training/managing-audio/volume-
playback.html> I guess the benefit is that they keep the distinct roles;
the drawback is that different apps, maybe unexpectedly, behave in
different ways.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1498466

Title:
  Default audio role for volume controls isn't the role that sound
  effects use

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1498466/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to