The main problem I've found when testing this bug is that every sound played 
from the "Maroon in trouble" opens and closes the pulse audio sink to play 
every single sound. 
What we experience then is that the role is changing from "alert" to 
"multimedia" just for less than a second and you can see the sound slider at 
the indicator moving from 100% to the alert role volume. 

You don't have the time to change the volume of the game, because it
uses the multimedia role for a very short period of time, and even you
modify the multimedia role volume every sound that comes from that game
is set to 100% when we read it using pulse.

I have a workaround branch, that stores volumes for every role and set
the current volume for the multimedia sink when any sound of that role
comes in. I'm not fully convinced by that approach, so I've opened a bug
in pulse-audio to see why we get 100% volume for the sounds coming from
the game.

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1485522

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

Title:
  Apps change audio output role all the time

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

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

Reply via email to