0
0

When trying to compile a program using fmodex 0.4.12.7 delphi headers the compiler says "[color=cyan:346dp8zq]unknown identifier: "FMOD_TIMEUNIT"[/color:346dp8zq]" @ fmodtypes.pas (line 1049):

[code:346dp8zq]type
[...]
initialseekpostype: FMOD_TIMEUNIT; (* [in] Optional. Specify 0 to ignore. For streams. Specify the time unit for the position set in initialseekposition. *)
end;[/code:346dp8zq]

So I browsed the files but couldn’t find a definition. ๐Ÿ˜•
Did I miss something? confused

  • You must to post comments
0
0

We do not support the delphi header, it is submitted by 3rd parties. If people which they can patch it to support the latest changes and we can include it in our SDK.

  • You must to post comments
0
0

Hi
Open file fmodtypes.pas and check
type
FMOD_SYSTEM = Pointer;
FMOD_SOUND = Pointer;
FMOD_CHANNEL = Pointer;
FMOD_CHANNELGROUP = Pointer;
FMOD_DSP = Pointer;
FMOD_BOOL = LongBool;
FMOD_POLYGON = Pointer;
FMOD_GEOMETRY = Pointer;
FMOD_SYNCPOINT = Pointer;
FMOD_TIMEUNIT = Cardinal;

if FMOD_TIMEUNIT not found, then type it! ๐Ÿ˜€

  • You must to post comments
0
0

[quote="Michael_rus":32c2cmnq] FMOD_TIMEUNIT = Cardinal;

if FMOD_TIMEUNIT not found, then type it! :D[/quote:32c2cmnq]

Thanks! ๐Ÿ˜€
The line was missing.

  • You must to post comments
0
0

Thanks I put that in our version as well for future use.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.