MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / API

Method API

fmod/src/library.cpp:206–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204#endif
205
206API::API()
207 : library(nullptr)
208{
209 auto numLoadedLibraryNames = sizeof(gLoadedBinaryNames) / sizeof(gLoadedBinaryNames[0]);
210
211 for (auto i = 0; i < numLoadedLibraryNames; ++i)
212 {
213 library = Library::load(gLoadedBinaryNames[i]);
214 if (library)
215 break;
216 }
217
218 if (!library)
219 throw std::runtime_error("Unable to load Steam Audio library.");
220
221 DYNAMIC_LINK_LIBRARY_FUNCTION(iplContextCreate);
222}
223
224API::~API()
225{

Callers

nothing calls this directly

Calls 1

loadFunction · 0.50

Tested by

no test coverage detected