tools/utilities/pythonlibs/audio/view_audio.py
def on_stop(self):
        """ called when user clicks the Stop button """
        self.reading_input = False
        if self.wav_file:
            self.wav_file.close()
            self.wav_file = None
        if self.read_input_thread:
            self.read_input_thread.join()
            self.read_input_thread = None  
        self.stop()
 called when user clicks the Stop button 
called when user clicks the Stop button
called when user clicks the Stop button
def on_stop(self):
        self.reading_input = False
        if self.wav_file:
            self.wav_file.close()
            self.wav_file = None
        if self.read_input_thread:
            self.read_input_thread.join()
            self.read_input_thread = None  
        self.stop()
def on_stop ( self ) : self . reading_input = False if self . wav_file : self . wav_file . close ( ) self . wav_file = None if self . read_input_thread : self . read_input_thread . join ( ) self . read_input_thread = None self . stop ( )
called when user clicks the Stop button
called when user clicks the Stop button
""" called when user clicks the Stop button """
self