MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / load_runtime_voice_preset

Method load_runtime_voice_preset

app/server/runtime.cpp:424–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 return task_result_json_with_timing(result, timing_json(wall_ms, result.named_audio_outputs.front().audio));
423 }
424 return task_result_json_with_timing(result, timing_json(wall_ms));
425}
426
427std::string streaming_task_result_json(
428 const engine::runtime::TaskResult & result,
429 const std::optional<double> & ttft_ms) {
430 return task_result_json_with_timing(result, ttft_timing_json(require_ttft_ms(ttft_ms)));
431}
432
433std::string stream_event_json(const engine::runtime::StreamEvent & event) {
434 std::ostringstream out;
435 out << "{";
436 bool first = true;

Callers

nothing calls this directly

Calls 1

read_audio_bufferFunction · 0.50

Tested by

no test coverage detected