MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / loadParamsMem

Method loadParamsMem

extlibs/soloud/src/audiosource/sfxr/soloud_sfxr.cpp:544–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542 }
543
544 result Sfxr::loadParamsMem(unsigned char *aMem, unsigned int aLength, bool aCopy, bool aTakeOwnership)
545 {
546 MemoryFile mf;
547 int res = mf.openMem(aMem, aLength, aCopy, aTakeOwnership);
548 if (res != SO_NO_ERROR)
549 return res;
550 return loadParamsFile(&mf);
551 }
552
553 result Sfxr::loadParams(const char *aFilename)
554 {

Callers

nothing calls this directly

Calls 1

openMemMethod · 0.80

Tested by

no test coverage detected