0
0

FMOD Ex : 4.44.26
FMOD Designer : 4.44.26

I can’t English.. Sorry!
I want to use a Encryptionkey.

FMOD Designer -> Project Properties -> Encryption key = "testencrypt"

I use two banks.
first bank is fine.

[code:fbwt70fi]
{
FMOD_CREATESOUNDEXINFO soundInfo;
memset(&soundInfo, 0, sizeof(FMOD_CREATESOUNDEXINFO));
soundInfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
soundInfo.encryptionkey = FMOD_ENCRYPTIONKEY;

result = m_fmod->createSound((const char*)path, FMOD_CREATECOMPRESSEDSAMPLE, &soundInfo, &m_sampleBank);
if (result != FMOD_OK)
return FALSE;

result = m_eventSystem->preloadFSB(strBank, 0, m_sampleBank);
if (result != FMOD_OK)
return FALSE;
}

The problem is a stream Bank.
{
FMOD_CREATESOUNDEXINFO soundInfo;
memset(&soundInfo, 0, sizeof(FMOD_CREATESOUNDEXINFO));
soundInfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
soundInfo.encryptionkey = FMOD_ENCRYPTIONKEY;
soundInfo.nonblockcallback = &NONBLOCKCALLBACK;

result = m_fmod->createStream((const char*)path, FMOD_SOFTWARE | FMOD_2D | FMOD_NONBLOCKING, &soundInfo, &m_streamBank);
if (result != FMOD_OK)
return FALSE;
}
[/code:fbwt70fi]

FMOD_ERR_INTERNAL occured in NONBLOCKCALLBACK.

Help me plz!! 😳

  • You must to post comments
0
0

does it work if you remove
soundInfo.nonblockcallback or make it 0?

if you get FMOD_ERR_INTERNAL please use fmodexL version and check log output for any error messages.

  • You must to post comments
0
0

I’m sorry!
I didn’t change dll files.
Sorry!! 😳

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.