#NEWLINE# def _check_play( self , dt ) : #NEWLINE# #INDENT# if ( self . _channel is None ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if self . _channel . get_busy ( ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . loop : #NEWLINE# #INDENT# def do_loop( dt ) : #NEWLINE# #INDENT# self . play ( ) #NEWLINE# #UNINDENT# Clock . schedule_once ( do_loop ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . stop ( ) #NEWLINE# #UNINDENT# return False