code: def clear_data(self):
          
          self.log(u"Clear audio_data")
          self.__samples_capacity = 0
          self.__samples_length = 0
          self.__samples = None
docs: Clear the audio data, freeing memory.