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

Method run

tests/unittests/test_audio_chunking.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 engine::runtime::TaskResult run(const engine::runtime::TaskRequest & request) override {
52 engine::test::require(prepared, "mock VAD run after prepare");
53 engine::test::require(request.audio_input.has_value(), "mock VAD run audio input");
54 ++runs;
55 engine::runtime::TaskResult result;
56 result.speech_segments = segments;
57 return result;
58 }
59
60 bool prepared = false;
61 int runs = 0;

Callers 15

run_whisperFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_dumpFunction · 0.45
run_implFunction · 0.45
mainFunction · 0.45

Calls 1

requireFunction · 0.70

Tested by

no test coverage detected