
Go to the source code of this file.
Macros | |
| #define | BYTE char /* signed or unsigned */ |
| #define | WORD short /* signed or unsigned, fit two BYTEs */ |
| #define | LONG int /* signed, fit two WORDs */ |
| #define | MAXUP 0x400 /* MAXUP*MAXLENGTH worst case malloc */ |
| #define | MAXLENGTH 0x400 /* max FIR length */ |
| #define | OUTBUFFSIZE (2*MAXLENGTH) /* fit >=MAXLENGHT stereo samples */ |
| #define | INBUFFSIZE (4*MAXLENGTH) /* fit >=2*MAXLENGTH stereo samples */ |
| #define | sqr(a) ((a)*(a)) |
| #define | M_PI 3.14159265358979 |
Functions | |
| void | fir_mono (float *inp, float *coep, int firlen, float *outp) |
| int | rateconv (short *in, int isize, short **out, int *osize, int in_samp_freq, int out_samp_freq) |
| #define BYTE char /* signed or unsigned */ |
Definition at line 171 of file rateconv.cc.
| #define WORD short /* signed or unsigned, fit two BYTEs */ |
Definition at line 172 of file rateconv.cc.
| #define LONG int /* signed, fit two WORDs */ |
Definition at line 173 of file rateconv.cc.
| #define MAXUP 0x400 /* MAXUP*MAXLENGTH worst case malloc */ |
Definition at line 176 of file rateconv.cc.
| #define MAXLENGTH 0x400 /* max FIR length */ |
Definition at line 180 of file rateconv.cc.
| #define OUTBUFFSIZE (2*MAXLENGTH) /* fit >=MAXLENGHT stereo samples */ |
Definition at line 183 of file rateconv.cc.
Definition at line 184 of file rateconv.cc.
| #define sqr | ( | a | ) | ((a)*(a)) |
Definition at line 185 of file rateconv.cc.
| #define M_PI 3.14159265358979 |
Definition at line 188 of file rateconv.cc.
| void fir_mono | ( | float * | inp, |
| float * | coep, | ||
| int | firlen, | ||
| float * | outp | ||
| ) |
Definition at line 278 of file rateconv.cc.