~d.filoni/indicator-sound/pulse_fix_set_volume_role

Viewing all changes in revision 540.

  • Committer: Devid Antonio Filoni
  • Date: 2016-08-10 16:47:28 UTC
  • Revision ID: d.filoni@ubuntu.com-20160810164728-tj33s7lu373ymy73
volume-control-pulse: handle a concurrency issue in role volume set. In particular circumstances indicator-sound changes the volume of a role using the previous set role one, this happens when it intercepts an external volume change signal (from example from AccountsService) while reading new role from pulse (which requires two DBus calls). Both Vala methods (set_volume_active_role and update_active_sink_input) are async.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: