core: Correct mixer.set_volume() docstring

This commit is contained in:
Stein Magnus Jodal 2015-03-13 21:04:37 +01:00
parent 2744a2b8a8
commit e4ef6d13ca

View File

@ -25,10 +25,11 @@ class MixerController(object):
def set_volume(self, volume):
"""Set the volume.
The volume is defined as an integer in range [0..100] or :class:`None`
if the mixer is disabled.
The volume is defined as an integer in range [0..100].
The volume scale is linear.
Returns :class:`True` if call is successful, otherwise :class:`False`.
"""
if self._mixer is None:
return False