Comment 8 for bug 1389761

Revision history for this message
Oliver Grawert (ogra) wrote :

hmm, you don't seem to understand... unless i have an app that constantly plays back something (game or music player) the role used to play back my sound is never activated. in case of sound effects in an app the volume control points 99% of the time to the main system volume, not to the role your app uses to play back the effect. if your slider adjusts "the active output role" it will always adjust the main volume, not the volume of your sound effect.

to visualize what i mean, perhaps do the following:
* install the OMGUbuntu app
* turn the main volume down so that the indicator icon just doesn't show any of the curved lines in front of the speaker icon (30% or so)
* open OMGUbuntu
* keep your eyes on the indicator icon and tap a link/photo/etc in the app (that generates a sound effect)

you will see the volume jump to full volume the moment the effect plays back, your role just changed.
if the app had a slider in its settings for controlling the effect volume this slider would never control the volume you actually want to control, unless the slider element has an option to define it (this element can indeed default to the currently active role if unset, but unless you actually want the main control or unless your app constantly produces sound you would want a way to override this default to point to the correct knobs suited for the application)