paqa: removed non standard and unused #include <strings.h>. updated definitions of pi to double precision
This commit is contained in:
parent
801ae219cd
commit
c9322dac96
2 changed files with 3 additions and 5 deletions
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include "biquad_filter.h"
|
||||
|
||||
#define MATH_PI (3.14159265)
|
||||
#define MATH_PI (3.141592653589793238462643)
|
||||
#define MATH_TWO_PI (2.0 * MATH_PI)
|
||||
|
||||
typedef struct PaQaSineGenerator_s
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#include <math.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "biquad_filter.h"
|
||||
|
||||
|
|
@ -11,7 +10,7 @@
|
|||
* @author (C) 2002 Phil Burk, SoftSynth.com, All Rights Reserved
|
||||
*/
|
||||
|
||||
#define FILTER_PI (3.14159265)
|
||||
#define FILTER_PI (3.141592653589793238462643)
|
||||
/***********************************************************
|
||||
** Calculate coefficients common to many parametric biquad filters.
|
||||
*/
|
||||
|
|
@ -118,6 +117,5 @@ void BiquadFilter_Filter( BiquadFilter *filter, float *inputs, float *outputs, i
|
|||
filter->xn1 = xn1;
|
||||
filter->xn2 = xn2;
|
||||
filter->yn1 = yn1;
|
||||
filter->yn2 = yn2;
|
||||
|
||||
filter->yn2 = yn2;
|
||||
}
|
||||
Loading…
Reference in a new issue