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

Method register_loader

src/framework/runtime/registry.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 // no-op and the log matches the pre-load-progress behavior exactly.
78 if (!engine::core::load_progress_enabled() || !engine::debug::trace_log_enabled()) {
79 return;
80 }
81 engine::debug::trace_log_scalar("runtime.load.phase", std::string_view{"loaded"});
82 engine::core::end_model_load();
83}
84
85void ModelRegistry::register_loader(std::shared_ptr<IVoiceModelLoader> loader) {
86 if (loader == nullptr) {
87 throw std::invalid_argument("model loader must not be null");

Callers 2

make_default_registryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected