mpris2.types.volume module¶
From mprisV2.2 documentation
http://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Simple-Type:Volume
-
class
mpris2.types.volume.
Volume
(volume=1.0)[source]¶ Bases:
float
Audio volume level
- 0.0 means mute.
- 1.0 is a sensible maximum volume level (ex: 0dB).
Note that the volume may be higher than 1.0, although generally clients should not attempt to set it above 1.0.
-
MAX
= 1.0¶
-
MIN
= 0.0¶
-
RANGE
= set([0.0, 0.5, 0.2, 0.4, 1.0, 0.8, 0.6, 0.3, 0.1, 0.9, 0.7])¶
-
n
= 10¶