12 lines
204 B
Python
12 lines
204 B
Python
#encoding = utf8
|
|
from queue import Queue
|
|
|
|
|
|
class Chunk2Mal:
|
|
def __init__(self):
|
|
self._audio_chunk_queue = Queue()
|
|
|
|
def push_chunk(self, chunk):
|
|
self._audio_chunk_queue.put(chunk)
|
|
|