def __init__(self):
self.done = False
self.msgs_lock = threading.Lock()
self.msgs = [ ]
self.verbose = False
self.enabled = True # True -> run process(); False -> don't
self.jrate = int(11025/2) # sample rate for processing (FFT &c)
self.jblock = int(4096/2) # samples per symbol
# set self.start_time to the UNIX time of the start
# of a UTC minute.
now = int(time.time())
gm = time.gmtime(now)
self.start_time = now - gm.tm_sec
# seconds per cycle
评论列表
文章目录