← Back to team overview

desktop-packages team mailing list archive

[Bug 1478506] 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

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

Title:
  Apps change audio output role all the time

Status in Canonical System Image:
  Confirmed
Status in indicator-sound package in Ubuntu:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  To reproduce, install the app "Maroon in trouble" from the app store
  and play it a little with having sound enabled. Press the volume down
  hardware button on the phone. It will temporarily decrease the volume.
  However, whenever a new item comes into the scene, it will be on 100%
  volume again.

  Setting the system volume to 0 should keep everything at 0.

  
  Please note that this app does *not* have any code to set the volume! Also this app is one of the upstream Qt QML example demo apps, so this is really how QML apps are supposed to work (in other words, it is not a badly implemented app, but really an issue in the system)

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