Hello everybody!
I want load audio information from Binary[Encrypted Data] to guard Sport’s Assets
1, I efficiently used createSound( filePath ) with fmodL.dll and different information setup oke.
auto r = system->createSound(soundPath.c_str(), FMOD_DEFAULT, 0, &sound);
2, However, when createSound from Binary FAIL
Knowledge knowledge = FileUtils::getInstance()->getDataFromFile(soundPath);
FMOD_CREATESOUNDEXINFO exinfo;
exinfo.cbsize = 144; // different values make crash run-time
exinfo.size = knowledge.getSize();
auto r = system->createSound((char*)knowledge.getBytes(), FMOD_OPENMEMORY, &exinfo, &sound);
I met error : fmodL.pdb is just not loading when runtime.My codes is unhealthy or lack of setup information (dll, lib)?
Please assist me. If this doesn’t an answer, Ought to I again to make use of AudioEngine?