Phonon + Volume Changes and feedback loops
gmane at colin.guthr.ie
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
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
Tribalogic Limited [http://www.tribalogic.net/]
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the kde-multimedia