MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / __init__

Method __init__

lightx2v/utils/va_reader_omni.py:46–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44
45class ByteBuffer:
46 def __init__(self):
47 self.buffer = deque()
48 self.current_size = 0
49 # is the audio belonging to current turn finished
50 self.audio_finished = False
51
52 def add(self, byte_data: bytes):
53 self.buffer.append(byte_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected