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

Function append_audio_buffer

src/framework/runtime/session.cpp:233–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 ArtifactKind kind,
232 std::string id,
233 std::string_view payload,
234 std::unordered_map<std::string, std::string> meta) {
235 return make_voice_artifact(kind, std::move(id), bytes_from_string(payload), std::move(meta));
236}
237
238GraphCapacityMode parse_graph_capacity_mode(const std::string & value) {
239 if (value == "fixed") {
240 return GraphCapacityMode::Fixed;
241 }
242 if (value == "tiered") {
243 return GraphCapacityMode::Tiered;
244 }
245 if (value == "grow") {
246 return GraphCapacityMode::Grow;
247 }

Callers 5

runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
run_voice_cloningMethod · 0.85
runMethod · 0.85

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected