core: Correct mixer.set_volume() docstring
This commit is contained in:
parent
2744a2b8a8
commit
e4ef6d13ca
@ -25,10 +25,11 @@ class MixerController(object):
|
|||||||
def set_volume(self, volume):
|
def set_volume(self, volume):
|
||||||
"""Set the volume.
|
"""Set the volume.
|
||||||
|
|
||||||
The volume is defined as an integer in range [0..100] or :class:`None`
|
The volume is defined as an integer in range [0..100].
|
||||||
if the mixer is disabled.
|
|
||||||
|
|
||||||
The volume scale is linear.
|
The volume scale is linear.
|
||||||
|
|
||||||
|
Returns :class:`True` if call is successful, otherwise :class:`False`.
|
||||||
"""
|
"""
|
||||||
if self._mixer is None:
|
if self._mixer is None:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user