0
0

I does anyone know who is the maintainer of the delphi headers for fmod ex? function SetHardwareChannels is incorrectly declared.
In the header is:
[code:1m6bppzy]
function FMOD_System_SetHardwareChannels(system: FMOD_SYSTEM; min: Integer; max: Integer): FMOD_RESULT; stdcall;
[/code:1m6bppzy]
But it should be:
[code:1m6bppzy]
function FMOD_System_SetHardwareChannels(system: FMOD_SYSTEM; min2d: Integer; max2d: Integer; min3d: Integer; max3d: Integer): FMOD_RESULT; stdcall;
[/code:1m6bppzy]

I am talking about headers which are included with the 4.02.05

Edit: added the fmod version

Siim

  • You must to post comments
0
0

there is one more issue that can be potentially missleading in fmod.pas
[code:3dent26g]
function FMOD_System_GetHardwareChannels(system: FMOD_SYSTEM; var numhw3dchannels: Integer; var numhw2dchannels: Integer; var totalchannels: Integer): FMOD_RESULT; stdcall;
[/code:3dent26g]

to keep variable order and names the same as in c header it should be
[code:3dent26g]
function FMOD_System_GetHardwareChannels(system: FMOD_SYSTEM; var num2d: Integer; var num3d: Integer; var total: Integer): FMOD_RESULT; stdcall;
[/code:3dent26g]

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.