You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SpeexDSP in a VoIP project to support Noise suppression. It works well on the Windows C++ application but failed with a "FLOAT_OVERFLOW" exception when I tried to use it in a Windows Delphi application.
After some debugging, I found the exception comes from the function qcurve:
Hi,
I'm using SpeexDSP in a VoIP project to support Noise suppression. It works well on the Windows C++ application but failed with a "FLOAT_OVERFLOW" exception when I tried to use it in a Windows Delphi application.
After some debugging, I found the exception comes from the function
qcurve
:speexdsp/libspeexdsp/preprocess.c
Line 371 in 738e179
speexdsp/libspeexdsp/preprocess.c
Line 373 in 738e179
When the input argument
x
is0.000000
, it MAY crash with the FLOAT_OVERFLOW exception(Sometimes, even if the x is zero, no error is reported).I was able to make it work as expected like this:
Let me know what you think, and if you need more information.
Thanks.
The text was updated successfully, but these errors were encountered: