[mpris] [RFC] MPRIS2 Release Candidate

Lennart Poettering lennart at poettering.net
Sun Aug 8 12:51:23 CEST 2010


On Sat, 07.08.10 23:58, Alex Merry (kde at randomguy3.me.uk) wrote:

> >I believe it would make more sense to have one function that allows to
> >set the volume as an absolute value, plus possibly two simple functions
> >"VolumeUp" and "VolumeDown" that change the volume relatively, and
> >define the used volume step internally. That way it is under control of
> >the mpris server implementor to define the steps used, not the clients.
> 
> You're probably right.  The whole idea of relative changes was more
> for the playback position, and I just added the AdjustVolume call
> because it fitted the pattern, which is bad reasoning of course :-)
> 
> I'm not even convinced we need relative volume adjustment, tbh.  Is
> there a good use case for it?

Oh, I thought you had one when you designed it and implied that this was
about having something nice to bind to the "volume up" and "volume down"
keys of the kbd.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the mpris mailing list