Bandlimit changes/algorithm tweaking, add sinc function to lmms_math

This commit is contained in:
Vesa
2014-04-08 12:06:39 +03:00
parent 13237f9c8e
commit 5397bbeaf4
2 changed files with 19 additions and 6 deletions

View File

@@ -120,5 +120,12 @@ static inline double fastPow( double a, double b )
return u.d;
}
// sinc function
static inline double sinc( double _x )
{
return sin( F_PI * _x ) / ( F_PI * _x );
}
#endif