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

Method prepare

tests/unittests/test_audio_chunking.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void prepare(const engine::runtime::SessionPreparationRequest & request) override {
47 engine::test::require(request.audio.has_value(), "mock VAD prepare audio contract");
48 prepared = true;
49 }
50
51 engine::runtime::TaskResult run(const engine::runtime::TaskRequest & request) override {
52 engine::test::require(prepared, "mock VAD run after prepare");

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_implFunction · 0.45
measure_warmFunction · 0.45

Calls 1

requireFunction · 0.70

Tested by

no test coverage detected