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

Function audio_duration_ms

app/server/runtime.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189void write_sse_done(HttpStreamWriter & writer) {
190 writer.write("data: [DONE]\n\n");
191}
192
193bool bool_field(const Value & object, const std::string & key, bool default_value) {
194 const auto * value = object.find(key);
195 if (value == nullptr || value->is_null()) {
196 return default_value;
197 }
198 if (value->is_bool()) {
199 return value->as_bool();
200 }

Callers 2

timing_jsonFunction · 0.70
timing_headersFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected