0
0

FMOD_DSP_TYPE_PARAMEQ doesn’t work under delphi 5 enterprise 😥
i use fmod v4.1.0
[code:31ba9jun]
procedure Init_EQ;
var
p : FMOD_DSP;
begin
if fFMODSystem <> NIL then begin
fResult:= FMOD_System_CreateDSPByType (fFMODSystem, FMOD_DSP_TYPE_PARAMEQ, p);
ErrorCheck (fResult);
end;
end;
[/code:31ba9jun]

  • You must to post comments
0
0

I need assistance, otherwise my project is endangered.

  • You must to post comments
0
0

[quote="brett":3afn9hio]The function itself does work, all of the examples use it. It can only be an issue with delphi or the delphi header and we don’t support it.
What do you mean doesn’t work by the way? Does it return an error?[/quote:3afn9hio]

Yes, the function functions, but unfortunately not with this parameter! I get a “invalid floating decimal point operation” and “division by zero”. Very annoying the whole. I would not like again back after fmod 3.74.

  • You must to post comments
0
0

[quote="brett":12q27cj7]Hi,
try this in your code before initializing fmod and let me know if it helps

Set8087CW($133f);

in the mean time i’ll check it out[/quote:12q27cj7]

Ok, this code functions perfectly. That was already used with fmod 3.xx.
Thanks for tap. That could have occurred to me also.

[code:12q27cj7]
//******************************************************************************
var
Saved8087CW: Word;

{$ifdef FPC} //FPC do not have this function in its RTL
const
Default8087CW = $1332; //according to the FPC site it’s the value used in the
//startup code.
procedure Set8087CW( value :word ); Assembler;
asm
FLDCW value
end;
{$endif}

initialization
{ Save the current FPU state and then disable FPU exceptions }
Saved8087CW := Default8087CW;
Set8087CW($133f); { Disable all fpu exceptions }

finalization
{ Reset the FPU to the previous state }
Set8087CW(Saved8087CW);
[/code:12q27cj7]

  • You must to post comments
0
0

[quote="brett":39mzkedd]hi we just updated a new version which removes the error anyway, the parameq had a floating point NAN in it but C doesnt capture that exception.[/quote:39mzkedd]
Thanks, I used the most current version yesterday. Now everything functions perfectly.

I would like to make also a radix complement to the developer team, for this ingenious sound library.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.