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

Method loadFile

extlibs/soloud/src/audiosource/wav/soloud_wavstream.cpp:565–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563 }
564
565 result WavStream::loadFile(File *aFile)
566 {
567 delete[] mFilename;
568 delete mMemFile;
569 mStreamFile = 0;
570 mMemFile = 0;
571 mFilename = 0;
572 mSampleCount = 0;
573
574 int res = parse(aFile);
575
576 if (res != SO_NO_ERROR)
577 {
578 return res;
579 }
580
581 mStreamFile = aFile;
582
583 return 0;
584 }
585
586 result WavStream::loadFileToMem(File *aFile)
587 {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.50

Tested by

no test coverage detected