Remove MIXER_MAX_VOLUME setting.
This commit is contained in:
parent
7574862491
commit
5a0199ac20
@ -5,13 +5,8 @@ from mopidy import listeners, settings
|
||||
logger = logging.getLogger('mopidy.mixers')
|
||||
|
||||
class BaseMixer(object):
|
||||
"""
|
||||
**Settings:**
|
||||
|
||||
- :attr:`mopidy.settings.MIXER_MAX_VOLUME`
|
||||
"""
|
||||
|
||||
amplification_factor = settings.MIXER_MAX_VOLUME / 100.0
|
||||
# TODO: remove completly
|
||||
amplification_factor = 1.0
|
||||
|
||||
@property
|
||||
def volume(self):
|
||||
|
||||
@ -126,17 +126,6 @@ MIXER = u'autoaudiomixer'
|
||||
#: MIXER_TRACK = None
|
||||
MIXER_TRACK = None
|
||||
|
||||
#: The maximum volume. Integer in the range 0 to 100.
|
||||
#:
|
||||
#: If this settings is set to 80, the mixer will set the actual volume to 80
|
||||
#: when asked to set it to 100.
|
||||
#:
|
||||
#: Default::
|
||||
#:
|
||||
#: MIXER_MAX_VOLUME = 100
|
||||
# TODO: re-add support for this.
|
||||
MIXER_MAX_VOLUME = 100
|
||||
|
||||
#: Which address Mopidy's MPD server should bind to.
|
||||
#:
|
||||
#:Examples:
|
||||
|
||||
@ -125,6 +125,7 @@ def validate_settings(defaults, settings):
|
||||
'MIXER_EXT_PORT': None,
|
||||
'MIXER_EXT_SPEAKERS_A': None,
|
||||
'MIXER_EXT_SPEAKERS_B': None,
|
||||
'MIXER_MAX_VOLUME': None,
|
||||
'SERVER': None,
|
||||
'SERVER_HOSTNAME': 'MPD_SERVER_HOSTNAME',
|
||||
'SERVER_PORT': 'MPD_SERVER_PORT',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user