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

Function require_assets

src/models/heartmula/session.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17using Clock = std::chrono::steady_clock;
18
19constexpr const char * kFamily = "heartmula";
20
21std::shared_ptr<const HeartMuLaAssets> require_assets(std::shared_ptr<const HeartMuLaAssets> assets) {
22 if (assets == nullptr) {
23 throw std::runtime_error("HeartMuLa session requires assets");
24 }
25 return assets;
26}

Callers 1

HeartMuLaSessionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected