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

Method load

extlibs/soloud/src/audiosource/wav/soloud_wav.cpp:293–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 result Wav::load(const char *aFilename)
294 {
295 if (aFilename == 0)
296 return INVALID_PARAMETER;
297 stop();
298 DiskFile dr;
299 int res = dr.open(aFilename);
300 if (res == SO_NO_ERROR)
301 return loadFile(&dr);
302 return FILE_LOAD_FAILED;
303 }
304
305 result Wav::loadMem(unsigned char *aMem, unsigned int aLength, bool aCopy, bool aTakeOwnership)
306 {

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected