mirror of https://github.com/ZDoom/fluidsynth.git
Disable floating point underflow exceptions
They often occur in reverb, chorus and IIR and break our CI for no good reason.
This commit is contained in:
parent
8e9d361651
commit
fff51822eb
|
@ -278,7 +278,7 @@ fluid_synth_init(void)
|
||||||
{
|
{
|
||||||
#ifdef TRAP_ON_FPE
|
#ifdef TRAP_ON_FPE
|
||||||
/* Turn on floating point exception traps */
|
/* Turn on floating point exception traps */
|
||||||
feenableexcept(FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID);
|
feenableexcept(FE_DIVBYZERO | FE_OVERFLOW | FE_INVALID);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
init_dither();
|
init_dither();
|
||||||
|
|
Loading…
Reference in New Issue