0
0

The definition of CreateSoundEx in fmod.pas does not correspond to the documentation. The correction that seems to work for me is below.

[code:22vx9j5n]
function FMOD_System_CreateSoundEx (system: FMOD_SYSTEM;
const name_or_data: PChar;
mode : integer{FMOD_MODE};
dataoffset : Cardinal;
datalength : Cardinal;
channels : integer;
defaultfrequency: integer;
format: FMOD_SOUND_FORMAT;
initialsubsound, numsubsounds: Integer;
datareadcallback : FMOD_SOUND_PCMREADCALLBACK;
dataseekcallback : FMOD_SOUND_PCMSEEKCALLBACK;
var sound: FMOD_SOUND): FMOD_RESULT; stdcall;
[/code:22vx9j5n][/code]

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.