<s> from __future__ import absolute_import , unicode_literals <EOL> import logging <EOL> from mopidy import listener <EOL> logger = logging . getLogger ( __name__ ) <EOL> class Mixer ( object ) : <EOL> """<STR_LIT>""" <EOL> name = None <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , config ) : <EOL> pass <EOL> def get_volume ( self ) : <EOL> """<STR_LIT>""" <EOL> return None <EOL> def set_volume ( self , volume ) : <EOL> """<STR_LIT>""" <EOL> return False <EOL> def trigger_volume_changed ( self , volume ) : <EOL> """<STR_LIT>""" <EOL> logger . debug ( '<STR_LIT>' , volume ) <EOL> MixerListener . send ( '<STR_LIT>' , volume = volume ) <EOL> def get_mute ( self ) : <EOL> """<STR_LIT>""" <EOL> return None <EOL> def set_mute ( self , mute ) : <EOL> """<STR_LIT>""" <EOL> return False <EOL> def trigger_mute_changed ( self , mute ) : <EOL> """<STR_LIT>""" <EOL> logger . debug ( '<STR_LIT>' , mute ) <EOL> MixerListener . send ( '<STR_LIT>' , mute = mute ) <EOL> def ping ( self ) : <EOL> """<STR_LIT>""" <EOL> return True <EOL> class MixerListener ( listener . Listener ) : <EOL> """<STR_LIT>""" <EOL> @ staticmethod <EOL> def send ( event , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> listener . send ( MixerListener , event , ** kwargs ) <EOL> def volume_changed ( self , volume ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def mute_changed ( self , mute ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
