#NEWLINE# def capture_seconds( num_seconds , chunksize , rate , width ) : #NEWLINE# #INDENT# num_buffers = int ( ( float ( ( num_seconds * rate ) ) / chunksize ) ) #NEWLINE# return capture_buffers ( num_buffers , chunksize , rate , width )