#NEWLINE# def stop( self ) : #NEWLINE# #INDENT# 'Terminate audio processing.\n\n        This waits until all pending audio buffers have been played\n        before it returns. If successful, the stream is considered\n        inactive.\n\n        ' #NEWLINE# err = _pa . Pa_StopStream ( self . _stream ) #NEWLINE# if ( err == _pa . paStreamIsStopped ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . _handle_error ( self )