I've contacted upstream if they have anything to possibly improve on
their side. Xenial now has Qt 5.5, but I don't see any pulseaudio
changes in 5.6 or dev either so I doubt the behavior is different there.

On our side, the likely components are qtubuntu-media and media-hub.

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtmultimedia-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1485522

Title:
  Volume obtained is 100% in multimedia sink for sounds from app

Status in Canonical System Image:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed
Status in qtmultimedia-opensource-src package in Ubuntu:
  New
Status in qtubuntu-media package in Ubuntu:
  Confirmed

Bug description:
  I'm not sure 100% this is a bug but it is related to
  https://bugs.launchpad.net/canonical-devices-system-image/+bug/1478506

  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.PulseAudio.Ext.StreamRestore1.RestoreEntry",
                                                sink_input_objp, 
"org.freedesktop.DBus.Properties", "Get",
                                                new Variant ("(ss)", 
"org.PulseAudio.Ext.StreamRestore1.RestoreEntry", "Volume"),
                                                null, DBusCallFlags.NONE, -1);
                                Variant tmp;
                                props_variant.get ("(v)", out tmp);
                                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.

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to