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

Method ~FlashSrGraph

src/framework/audio/flashsr.cpp:363–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 ~FlashSrGraph() {
364 core::release_backend_graph_resources(weights_.backend.get(), graph_);
365 if (plan_ != nullptr) {
366 auto * backend = weights_.backend.get();
367 core::free_backend_graph_plan(backend, plan_);
368 }
369 if (gallocr_ != nullptr) {
370 ggml_gallocr_free(gallocr_);
371 }
372 }
373
374 bool matches(int64_t input_samples) const noexcept {
375 return input_samples_ == input_samples;

Callers

nothing calls this directly

Calls 4

free_backend_graph_planFunction · 0.85
ggml_gallocr_freeFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected