Permalink
Browse files

tuner_r820t: double tuning speed (experimental)

  • Loading branch information...
1 parent 65461c3 commit f660f1f0a9f43a06d15f4f58f8a7998b0c42eced @keenerd committed Sep 8, 2013
Showing with 378 additions and 10 deletions.
  1. +6 −0 include/tuner_r820t.h
  2. +1 −1 src/librtlsdr.c
  3. +371 −9 src/tuner_r820t.c
View
@@ -181,6 +181,12 @@ r820t_SetRfFreqHz(
unsigned long RfFreqHz
);
+int
+r820t_SetRfFreqHz_fast(
+ void *pTuner,
+ unsigned long RfFreqHz
+ );
+
int
r820t_SetStandardMode(
void *pTuner,
View
@@ -184,7 +184,7 @@ int r820t_init(void *dev) {
return r;
}
int r820t_exit(void *dev) { return r820t_SetStandby(dev, 0); }
-int r820t_set_freq(void *dev, uint32_t freq) { return r820t_SetRfFreqHz(dev, freq); }
+int r820t_set_freq(void *dev, uint32_t freq) { return r820t_SetRfFreqHz_fast(dev, freq); }
int r820t_set_bw(void *dev, int bw) { return 0; }
int r820t_set_gain(void *dev, int gain) { return R828_SetRfGain(dev, gain); }
int r820t_set_gain_mode(void *dev, int manual) { return R828_RfGainMode(dev, manual); }
Oops, something went wrong.

0 comments on commit f660f1f

Please sign in to comment.