docs: Volume use a linear scale

This commit is contained in:
Stein Magnus Jodal 2014-07-14 23:09:57 +02:00
parent 0e826d0086
commit 8602ea24f1
2 changed files with 4 additions and 2 deletions

View File

@ -102,7 +102,9 @@ class PlaybackController(object):
self._volume = volume
volume = property(get_volume, set_volume)
"""Volume as int in range [0..100] or :class:`None`"""
"""Volume as int in range [0..100] or :class:`None` if unknown. The volume
scale is linear.
"""
def get_mute(self):
if self.mixer:

View File

@ -32,7 +32,7 @@ class Mixer(object):
def get_volume(self):
"""
Get volume level of the mixer.
Get volume level of the mixer on a linear scale from 0 to 100.
Example values: