MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / bark_free

Function bark_free

bark.cpp:2242–2254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2240}
2241
2242void bark_free(struct bark_context* bctx) {
2243 if (!bctx) {
2244 return;
2245 }
2246
2247 encodec_free(bctx->encodec_ctx);
2248
2249 bark_free_model(&bctx->text_model.semantic_model);
2250 bark_free_model(&bctx->text_model.coarse_model);
2251 bark_free_model(&bctx->text_model.fine_model);
2252
2253 delete bctx;
2254}
2255
2256struct bark_context_params bark_context_default_params() {
2257 struct bark_context_params result = {

Callers

nothing calls this directly

Calls 1

bark_free_modelFunction · 0.70

Tested by

no test coverage detected