def thread_stream(self,Tsec = <NUM_LIT:2>,numChan = <NUM_LIT:1>):
def stream_thread(time,channel):<EOL><INDENT>self.stream(Tsec=time,numChan = channel)<EOL><DEDENT>t = Thread(target=stream_thread, args=(Tsec,numChan,))<EOL>t.start()<EOL>
Stream audio in a thread using callback. The stream is threaded, so widgets can be
used simultaneously during stream.

Parameters
----------

Tsec : stream time in seconds if Tsec > 0. If Tsec = 0, then stream goes to infinite 
mode. When in infinite mode, Tsec.stop() can be used to stop the stream.

numChan : number of channels. Use 1 for mono and 2 for stereo.