<s> from pysoundcard import Stream , continue_flag <EOL> import time <EOL> """<STR_LIT>""" <EOL> def callback ( in_data , out_data , time_info , status ) : <EOL> out_data [ : ] = in_data <EOL> return continue_flag <EOL> s = Stream ( samplerate = <NUM_LIT> , blocksize = <NUM_LIT:16> , callback = callback ) <EOL> s . start ( ) <EOL> time . sleep ( <NUM_LIT:5> ) <EOL> s . stop ( ) </s>
