Default audio role for volume controls isn't the role that sound effects use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
John McAleely | ||
qtubuntu-media (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
1. Play a game that just plays occasional sound effects, not music.
2. Try to change the volume of the sound effects.
What should happen: You can.
What actually happens: You can't unless you time it exactly right, pressing the volume controls while the sound effect is playing.
For brief sounds (less than a second or so), like sound effects in a game or a messaging app, you probably won't be fast enough to change their volume while they're playing. So, you need to be able to change their volume even when they aren't playing.
If you want to be able to do this with the hardware volume buttons, that means that by default (when no sound is playing), the hardware volume buttons should control the role that sound effects use.
So, the current design is that this default role for volume controls should be "alert", and that sound effects should use "alert". <https:/
Unfortunately, this doesn't work at the moment because the Qt SoundEffect API <http://
Some possible ways to resolve this bug:
A. Decide that you should not, in fact, be able to change the volume of sound effects using the hardware buttons when sound effects aren't playing. Drawback: Annoying.
B. Change the SoundEffect API implementation so that it uses the "alert" role by default. Drawback: You couldn't silence sound effects without silencing the ringtone too. (Unless the ringtone was moved to a different role.)
C. Change the default role to "multimedia". Drawback: Not clear what "alert" would actually include any more.
D. Combine the "alert" and "multimedia" roles. Drawback: You couldn't change sound effect volume independent of music that was playing in the background (but maybe that's not a big deal).
<https:/
(This is a followup to bug 1478506.)
description: | updated |
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
importance: | Undecided → High |
milestone: | none → backlog |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
milestone: | backlog → ww08-2016 |
tags: | added: volume |
Changed in canonical-devices-system-image: | |
assignee: | Michał Sawicz (saviq) → John McAleely (john.mcaleely) |
milestone: | ww08-2016 → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 11 → backlog |
Status changed to 'Confirmed' because the bug affects multiple users.