Fix: Reset sample-buffer after processing (#1521)

Co-authored-by: VEP <517138883@qq.com>
This commit is contained in:
VEP
2024-11-08 19:04:34 +08:00
committed by GitHub
parent 86b1856c20
commit f94cca71cf

View File

@@ -427,7 +427,6 @@ def main():
)
print("\r{}:{}".format(segment_id, result), flush=True)
segment_id += 1
else:
sample_buffers = []
first_recognizer.reset(stream)