<s> class Audio ( object ) : <EOL> '''<STR_LIT>''' <EOL> state = '<STR_LIT>' <EOL> _file_path = '<STR_LIT>' <EOL> def __init__ ( self , file_path ) : <EOL> super ( Audio , self ) . __init__ ( ) <EOL> self . _file_path = file_path <EOL> def start ( self ) : <EOL> '''<STR_LIT>''' <EOL> self . _start ( ) <EOL> self . state = '<STR_LIT>' <EOL> def _start ( self ) : <EOL> raise NotImplementedError ( ) <EOL> def stop ( self ) : <EOL> '''<STR_LIT>''' <EOL> self . _stop ( ) <EOL> self . state = '<STR_LIT>' <EOL> def _stop ( self ) : <EOL> raise NotImplementedError ( ) <EOL> def play ( self ) : <EOL> '''<STR_LIT>''' <EOL> self . _play ( ) <EOL> self . state = '<STR_LIT>' <EOL> def _play ( self ) : <EOL> raise NotImplementedError ( ) <EOL> @ property <EOL> def file_path ( self ) : <EOL> return self . _file_path <EOL> @ file_path . setter <EOL> def file_path ( self , location ) : <EOL> '''<STR_LIT>''' <EOL> assert isinstance ( location , ( basestring , unicode ) ) , '<STR_LIT>' <EOL> self . _file_path = location </s>
