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

Method open_tensor_source

src/framework/assets/resource_bundle.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 });
112 return out;
113}
114
115std::string ResourceBundle::read_text(std::string_view id) const {
116 return engine::io::read_text_file(require_file(id));
117}
118
119engine::io::json::Value ResourceBundle::parse_json(std::string_view id) const {
120 return engine::io::json::parse_file(require_file(id));
121}
122
123engine::io::json::Value ResourceBundle::parse_jsonc(std::string_view id) const {
124 return engine::io::json::parse_jsonc_file(require_file(id));
125}

Callers 11

load_omnivoice_assetsFunction · 0.80
load_voxcpm2_assetsFunction · 0.80
load_submodelFunction · 0.80
load_citrinet_weightsFunction · 0.80
load_silero_weightsFunction · 0.80
load_roformer_assetsFunction · 0.80
load_pocket_tts_assetsFunction · 0.80
load_sortformer_assetsFunction · 0.80
load_qwen3_asr_assetsFunction · 0.80
load_marblenet_weightsFunction · 0.80
load_miotts_assetsFunction · 0.80

Calls 5

open_tensor_sourceFunction · 0.85
stringFunction · 0.50
require_fileFunction · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected