Commit 77cc89e3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Workaround spatializer bugs.

parent 32b11b0a
......@@ -35,6 +35,13 @@ private:
inline float comb::process(float input)
{
#if 1
/* FIXME FIXME FIXME
* comb::process is completly broken so ignore it for now */
return 0.0;
#else
float output;
output = undenormalise( buffer[bufidx] );
......@@ -46,6 +53,7 @@ inline float comb::process(float input)
if(++bufidx>=bufsize) bufidx = 0;
return output;
#endif
}
#endif //_comb_
......
......@@ -12,9 +12,7 @@
static inline float undenormalise( float f )
{
union { float f; uint32_t u; } data;
data.f = f;
if( (data.u & 0x7f800000) == 0 )
if( fpclassify( f ) == FP_SUBNORMAL )
return 0.0;
return f;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment