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

Function word

tests/unittests/test_audio_chunking.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24engine::runtime::WordTimestamp word(const std::string & text, int64_t start, int64_t end) {
25 engine::runtime::WordTimestamp timestamp;
26 timestamp.word = text;
27 timestamp.span.start_sample = start;
28 timestamp.span.end_sample = end;
29 return timestamp;
30}
31
32class MockVadSession final : public engine::runtime::IOfflineVoiceTaskSession {
33public:

Calls

no outgoing calls

Tested by

no test coverage detected