Dmitry Kovalev
/
LG
n
Fork of LG by
Diff: mathDSP.h
- Revision:
- 21:bc8c1cec3da6
- Parent:
- 1:f2adcae3d304
diff -r 18e3fd7b92d0 -r bc8c1cec3da6 mathDSP.h --- a/mathDSP.h Tue Feb 02 17:14:25 2016 +0000 +++ b/mathDSP.h Wed Feb 03 07:19:30 2016 +0000 @@ -1,9 +1,8 @@ #ifndef mathDSP_H #define mathDSP_H - +#include "dspfns.h" -#include "dspfns.h" typedef enum BAND_PASS_TYPE_{PLC, DUP} BAND_PASS_TYPE; @@ -12,12 +11,12 @@ #define PI 3.14159265 - //e. constants for the filter in the CPLC regulator //r. ��������� ��� ������� � ������� ��� + //e. constants for the filter in the CPLC regulator //r. константы для фильтра в контуре СРП #define NUMB_OF_BIQUADS_PLC 2 #define TAPS_PLC 5*NUMB_OF_BIQUADS_PLC #define DELAY_LEN_PLC (2*NUMB_OF_BIQUADS_PLC+2) - //e. constants for the filter in the APS regulator //r. ��������� ��� ������� � ������� ��� + //e. constants for the filter in the APS regulator //r. константы для фильтра в контуре ДУП #define NUM_OF_BIQUADS_DUP 2 #define TAPS_DUP 5*NUM_OF_BIQUADS_DUP #define DELAY_LEN_DUP (2*NUM_OF_BIQUADS_DUP+2) @@ -42,6 +41,6 @@ void init_VibroReduce(void); int PLC_PhaseDetFilt (int input); int DUP_Filt (int input); -void init_BandPass(double CenterFreq, double BandWidth, BAND_PASS_TYPE FiltType); +void init_BandPass(double CenterFreq, double BandWidth, BAND_PASS_TYPE ); #endif // mathDSP_H