0
0

I have created a unit fmodpresets.pas to provide the reverb presets for Delphi and Kylix. You can download the file [url=http://turbo.gamedev.net/fmodpresets.zip:335nhnx5]here[/url:335nhnx5] (3KB). I have not been able to test reverb here because my hardware does not support it.

To avoid possible compiler errors about passing a const to a var parameter, change the declaration of FSOUND_Reverb_SetProperties in fmod.pas to[code:335nhnx5]function FSOUND_Reverb_SetProperties(const Prop: TFSoundReverbProperties): ByteBool; {$IFDEF LINUX} cdecl {$ELSE} stdcall {$ENDIF};
[/code:335nhnx5]Note that [b:335nhnx5]var[/b:335nhnx5] changed to [b:335nhnx5]const[/b:335nhnx5]. This has been changed in the dynamic FMOD unit referred to in the sticky post above.

  • You must to post comments
0
0

I’ll test it as soon as I get back to my Audigy. 8)

Btw, the unit is missing the 3 presets Drugged, Dizzy and Psychotic (yes, useless except for “look ma! I sound weird!”), which aren’t I3DL2 but are always found in EAX-related code/material.

  • You must to post comments
0
0

Dizzy, psychotic and drugged are indeed there. At the end of the declarations. The only ones I left out were the PlayStation 2 specific presets.

  • You must to post comments
0
0

oops… yes, they are… me need new eyes 😳

  • You must to post comments
0
0

Just tested the presets with the Delphi unit, they all worked as expected as far as I could hear.

  • You must to post comments
0
0

Fantastic!

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.