def __init__(self, pa):
self.pa = pa
self.event = threading.Event()
# self.stream = self.pa.open(format=pyaudio.paInt16,
# channels=1,
# rate=16000,
# output=True,
# start=False,
# # output_device_index=1,
# frames_per_buffer=CHUNK_SIZE,
# stream_callback=self.callback)
评论列表
文章目录