HHousen / lecture2notes

Empty block of code found PTC-W0047
Anti-pattern
Major
3 years ago3 years old
103                yield b"".join([f.bytes for f in voiced_frames])
104                ring_buffer.clear()
105                voiced_frames = []
106    if triggered:107        pass
108    # If we have any leftover voiced audio when we run out of input,
109    # yield it.