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

Function emit_batch_result

app/workflow/file_sink.cpp:314–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 << " samples=" << output.audio.samples.size()
313 << "\n";
314 }
315 }
316 }
317
318 if (!result.speech_segments.empty()) {
319 const auto json = speech_segments_to_json(result.speech_segments);
320 if (segments_out.has_value()) {
321 if (!segments_out->parent_path().empty()) {
322 std::filesystem::create_directories(segments_out->parent_path());
323 }
324 std::ofstream(*segments_out) << json;

Callers

nothing calls this directly

Calls 3

emit_batch_summaryFunction · 0.85
emit_batch_item_resultFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected