feat: implement pausing functionality in CB
ref: N25B-350
This commit is contained in:
@@ -286,6 +286,7 @@ class VADAgent(BaseAgent):
|
||||
if msg.body == "PAUSE":
|
||||
self.logger.info("Pausing VAD processing.")
|
||||
self._paused.clear()
|
||||
# If the robot needs to pick up speaking where it left off, do not set _reset_needed
|
||||
self._reset_needed = True
|
||||
elif msg.body == "RESUME":
|
||||
self.logger.info("Resuming VAD processing.")
|
||||
|
||||
Reference in New Issue
Block a user