From 50d008ae6ae497ab658feadf8dcf1174e644e2c6 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 7 Jul 2014 20:46:56 +0200 Subject: [PATCH] mixer: Add name attr to mixer API --- mopidy/mixer.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mopidy/mixer.py b/mopidy/mixer.py index 1adae665..e522823b 100644 --- a/mopidy/mixer.py +++ b/mopidy/mixer.py @@ -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.