rtl_fm: disabling fast_atan2() for now, too noisy

Signed-off-by: Steve Markgraf <steve@steve-m.de>
master
Kyle Keen 13 years ago committed by Steve Markgraf
parent 62cc815863
commit d2f8faa204
  1. 6
      src/rtl_fm.c

@ -209,9 +209,9 @@ int polar_discriminant(int ar, int aj, int br, int bj)
int cr, cj;
double angle;
multiply(ar, aj, br, -bj, &cr, &cj);
//angle = atan2((double)cj, (double)cr);
//return (int)(angle / 3.14159 * (1<<14));
return fast_atan2(cj, cr);
angle = atan2((double)cj, (double)cr);
return (int)(angle / 3.14159 * (1<<14));
//return fast_atan2(cj, cr);
}
void fm_demod(struct fm_state *fm)

Loading…
Cancel
Save