8 #include <splitfields.h>
18 #include <oscillator.h>
20 typedef enum _ammode {AMdet, SAMdet} AMMode;
27 REAL alpha, beta,fast_alpha;
28 struct { REAL f, l, h; } freq;
30 struct { REAL alpha; } iir;
34 struct { REAL curr, prev; } lock;
41 extern void AMDemod(AMD am);
42 extern AMD newAMD(REAL samprate,
52 extern void delAMD(AMD am);
55 #define TWOPI (2.0*M_PI)