0
0

Error in Delphi header file FMOD.PAS

line #216
function FMOD_Sound_GetFormat
“var bits:integer” is missing from the original definition

Original definition:

[code:1tkk02mu]function FMOD_Sound_GetFormat (sound: FMOD_SOUND; var type_: FMOD_SOUND_TYPE; var format: FMOD_SOUND_FORMAT; var channels: Integer): FMOD_RESULT; stdcall;[/code:1tkk02mu]

Correct and working definition should be:

[code:1tkk02mu]function FMOD_Sound_GetFormat (sound: FMOD_SOUND; var type_: FMOD_SOUND_TYPE; var format: FMOD_SOUND_FORMAT; var channels: Integer; var bits: Integer): FMOD_RESULT; stdcall;[/code:1tkk02mu]

  • You must to post comments
0
0

The header of FMOD Designer api (fmod_event.h) in 4.03.03 distribution for Mac [b:2906qodw]x86[/b:2906qodw] platform is the header of 4.02.10).

I’ve got some linking problems (under macosx x86) due to probably a wrong version of libfmodevent.dylib distributed :
[code:2906qodw] FMOD::Event::get3DAttributes
FMOD::Event::set3DAttributes
FMOD::Event::getState
FMOD::EventParameter::getVelocity
FMOD::EventParameter::setVelocity[/code:2906qodw]
Here is the ouput of the compiler :
[code:2906qodw]ld: Undefined symbols:
__ZN4FMOD5Event15get3DAttributesEP11FMOD_VECTORS2_S2_
__ZN4FMOD5Event15set3DAttributesEPK11FMOD_VECTORS3_S3_
__ZN4FMOD5Event8getStateEPj.
__ZN4FMOD14EventParameter11getVelocityEPf
__ZN4FMOD14EventParameter11setVelocityEf[/code:2906qodw]

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.