0
0

Hi Folks,

Anyone else getting a FMOD_ERR_OUTPUT_CREATEBUFFER error after updating to the 4.02.07 release?

It happens the first time (and probably any other time) I try to call createSound. It worked ok before.

Any ideas?
All the best,
Ash

  • You must to post comments
0
0

What parameters are you passing to createSound and to System::Init?

  • You must to post comments
0
0

Hi Guys,

Thanks for the replies: –

Here is how i initialise and create the sounds: –

[code:q2cz7obs]
CSoundLibFmod::CSoundLibFmod(float volume):CSoundLib(volume)
{
FMOD_RESULT result;

_volumeMultiplyer = volume;

result = FMOD::System_Create(&_system);                             ERRCHECK(result);
result = _system->init(200, FMOD_INIT_NORMAL, 0);                    ERRCHECK(result);
result = _system->set3DSettings(1.0, DISTANCEFACTOR, 1.0f);      ERRCHECK(result);

}

void CSoundLibFmod::createSound(const char *fileName, FMOD::Sound **sound, FMOD_MODE mode){
FMOD_RESULT result;

result = _system->createSound(fileName, FMOD_HARDWARE | FMOD_3D, 0, sound);                                  

ERRCHECK(result);
result = (sound)->set3DMinMaxDistance(1.0f * DISTANCEFACTOR, 4000.0f * DISTANCEFACTOR);
ERRCHECK(result);
result = (
sound)->setMode(mode);
ERRCHECK(result);
}
[/code:q2cz7obs]

I have checked and i definitely have the latest release (i downloaded again replaced all the .h’s / the lib and the dll and did a recompilie).

Any more help would be appreciated.

All the best,
Ash

  • You must to post comments
0
0

The problem was fixed by the new version.

Thanks!
Ash

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.