Bah.fmod: Unofficial update (to 4.34.xx)

BlitzMax Forums/Brucey's Modules/Bah.fmod: Unofficial update (to 4.34.xx)

Grisu(Posted 2011) [#1]
Hi there,

with the latest stable release of fmod 4.34.00 (#070411) the compatibility with wrapper has been broken. This is a result of a newly introduced parameter for the GetOpenState function called "diskbusy".

Docs:
FMOD_RESULT FMOD_Sound_GetOpenState(
FMOD_SOUND * sound,
FMOD_OPENSTATE * openstate,
unsigned int * percentbuffered,
FMOD_BOOL * starving,
FMOD_BOOL * diskbusy);

Diskbusy:
Address of a variable that receives the disk busy state of a sound. That is, whether the disk is currently being accessed for the sound.

I have modified the original code so it works again. You can grab it from below. - Perhaps Brucey can update the module at some time.

Download:
http://188.165.211.46/~knot/prp/fmod43400.zip (~ 5 MB, full source)
^Beware that these files were only tested under Win32.

Grisu

Last edited 2011