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

Function require_assets

src/models/voxcpm2/session.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using Clock = std::chrono::steady_clock;
23constexpr int64_t kDefaultTextChunkSize = 2048;
24
25std::shared_ptr<const VoxCPM2Assets>
26require_assets(std::shared_ptr<const VoxCPM2Assets> assets) {
27 if (assets == nullptr) {
28 throw std::runtime_error("VoxCPM2 session requires assets");
29 }
30 return assets;
31}
32
33void reject_enabled_denoise(

Callers 1

VoxCPM2SessionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected