mixer: Add name attr to mixer API
This commit is contained in:
parent
297aac4f5a
commit
50d008ae6a
@ -4,6 +4,14 @@ from __future__ import unicode_literals
|
||||
class Mixer(object):
|
||||
"""Audio mixer API"""
|
||||
|
||||
name = None
|
||||
"""Name of the mixer.
|
||||
|
||||
Used when configuring what mixer to use. Should usually match the
|
||||
:attr:`~mopidy.ext.Extension.ext_name` of the extension providing the
|
||||
mixer.
|
||||
"""
|
||||
|
||||
def get_volume(self):
|
||||
"""
|
||||
Get volume level of the mixer.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user