Volume obtained is 100% in multimedia sink for sounds from app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Pat McGowan | ||
pulseaudio (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtmultimedia-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Timo Jyrinki | ||
qtmultimedia-opensource-src (Ubuntu RTM) |
Fix Released
|
Undecided
|
Timo Jyrinki | ||
qtubuntu-media (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm not sure 100% this is a bug but it is related to https:/
When the "Marron in trouble" games launches a sound the multimedia sink it's updated and when reading the volume it's always 100%.
I'ts not 100% for other applications using the multimedia role, like the music app or other games/apps. The volume in that case is in sync with the volume that was previously set for it.
This is the code from the indicator-sound where we get the 100% volume.
var props_variant = yield _pconn.call ("org.PulseAudi
sink_
new Variant ("(ss)", "org.PulseAudio
null, DBusCallFlags.NONE, -1);
Variant tmp;
props_
uint32 type = 0, volume = 0;
VariantIter iter = tmp.iterator ();
iter.next ("(uu)", &type, &volume);
I did a workaround branch in the indicator-sound that reads the volume at initilaization for every role and stores any change When the sink is updated I read the volume in it that is already stored instead of reading the volume from pulse.
I'm not convinced of that, and would like to know why I get 100% volume only for this particular game.
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → backlog |
affects: | qtbase-opensource-src (Ubuntu) → qtmultimedia-opensource-src (Ubuntu) |
Changed in qtmultimedia-opensource-src (Ubuntu): | |
status: | New → Confirmed |
affects: | qtubuntu (Ubuntu) → qtubuntu-media (Ubuntu) |
Changed in canonical-devices-system-image: | |
importance: | High → Critical |
milestone: | backlog → ww08-2016 |
tags: | added: volume |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Note: /bugs.launchpad .net/canonical- devices- system- image/+ bug/1478506/ comments/ 11 and I've observed in other apps the problem seems to be in the QML component for playing sounds.
As commented here: https:/