Phonon + Volume Changes and feedback loops

Colin Guthrie gmane at
Sun Mar 28 22:09:19 BST 2010

'Twas brillig, and Colin Guthrie at 27/03/10 21:43 did gyre and gimble:
> I'm working on integrating proper per-application volume controls
> provided by PulseAudio into Phonon.


OK, I've played about with this now and I think the following commit
fixes things:

In practice I didn't need a counter as previously thought (that approach
actually introduced problems relating to several changes being bundled
up into a single notification).

The commit should allow async volume changes to still be protected and
also protects against the possibility of a volume change being initiated
externally. The code to do the latter is not yet ready to commit, but
this change is still theoretically needed IMO.

Any comments feel free to discuss, but I think I'm happy with this
approach. I'll implement something similar in amarok's volume slider



Colin Guthrie

Day Job:
  Tribalogic Limited []
Open Source:
  Mandriva Linux Contributor []
  PulseAudio Hacker []
  Trac Hacker []

More information about the kde-multimedia mailing list