Comment 10 for bug 1478506

Revision history for this message
Xavi Garcia (xavi-garcia-mena) wrote : Re: Apps change audio output role all the time

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