actually save the file
This commit is contained in:
@@ -283,7 +283,7 @@ class AsyncTTSService(TTSService):
|
|||||||
self._stop_frame_task = None
|
self._stop_frame_task = None
|
||||||
|
|
||||||
async def process_frame(self, frame: Frame, direction: FrameDirection):
|
async def process_frame(self, frame: Frame, direction: FrameDirection):
|
||||||
super().process_frame(frame, direction)
|
await super().process_frame(frame, direction)
|
||||||
if isinstance(frame, TTSSpeakFrame):
|
if isinstance(frame, TTSSpeakFrame):
|
||||||
await self.flush_audio()
|
await self.flush_audio()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user