MCPcopy Create free account
hub / github.com/RunanywhereAI/RCLI / rcli_stop_speaking

Function rcli_stop_speaking

src/api/rcli_api.cpp:2203–2210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2201}
2202
2203void rcli_stop_speaking(RCLIHandle handle) {
2204 if (!handle) return;
2205 auto* engine = static_cast<RCLIEngine*>(handle);
2206 pid_t pid = engine->tts_pid.exchange(0, std::memory_order_acq_rel);
2207 if (pid > 0) {
2208 kill(pid, SIGTERM);
2209 }
2210}
2211
2212int rcli_is_speaking(RCLIHandle handle) {
2213 if (!handle) return 0;

Callers 4

cmd_listenFunction · 0.85
start_recordingMethod · 0.85
rcli_speakFunction · 0.85
rcli_stop_processingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected