0
0

I’m using fmodex version 4.12.01. I’m calling FMOD_Sound_Release to get rid of a sound that I created. The call is hanging inside fmod.

This is a somewhat special sound, which I created like this:

[code:2w7fpxxf]
FMOD_RESULT result;
FMOD_SOUND* ptFModSound = NULL;
FMOD_CREATESOUNDEXINFO exinfo;
FMOD_MODE dwMode = DEFAULT_FMOD_MODE_FLAGS | FMOD_CREATESTREAM | FMOD_LOOP_NORMAL | FMOD_OPENUSER;

MEMCLEAR(&exinfo, sizeof(exinfo));

assert(dwBitRate == 16);

exinfo.cbsize = sizeof(exinfo);
exinfo.defaultfrequency = 44100;
exinfo.numchannels = 1;
exinfo.numsubsounds = 2;
exinfo.format = FMOD_SOUND_FORMAT_PCM16;

result = FMOD_System_CreateSound( sFModSoundGlobals.ptFModSystem, NULL, dwMode, &exinfo, &ptFModSound );

if (!sCheckResult(result, "FMOD_System_CreateSound (looping)"))
{
    return NULL;
}

return ptFModSound;

[/code:2w7fpxxf]

Any help?

-sam

  • You must to post comments
0
0

Hi we’ll look into it and see if we can reproduce it.

  • You must to post comments
0
0

I haven’t had any luck with reproducing your issue. Maybe there is something in the rest of your code that is causing the problem. If possible can you send us a small test application that reproduces the problem to support@fmod.org, that way we can see exactly what your issue is.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.