diff options
| author | Steve Markgraf <steve@steve-m.de> | 2012-05-04 23:02:29 +0200 |
|---|---|---|
| committer | Steve Markgraf <steve@steve-m.de> | 2012-05-04 23:02:29 +0200 |
| commit | 86c34428aabebc79ac0de7f1194e6b755a6fa213 (patch) | |
| tree | 55aa08354560202e781846298d8f69de0acec531 /include/rtl-sdr.h | |
| parent | 0af094070f3aaf7f0394523025c61b0aaf25f2b6 (diff) | |
use new E4000 tuner driver, allow manual gain
Many thanks to Hoernchen for making the driver work properly
and adding manual gain!
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'include/rtl-sdr.h')
| -rw-r--r-- | include/rtl-sdr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtl-sdr.h b/include/rtl-sdr.h index e5b3f75..9688bda 100644 --- a/include/rtl-sdr.h +++ b/include/rtl-sdr.h @@ -87,6 +87,8 @@ RTLSDR_API int rtlsdr_set_tuner_gain(rtlsdr_dev_t *dev, int gain); RTLSDR_API int rtlsdr_get_tuner_gain(rtlsdr_dev_t *dev); +RTLSDR_API int rtlsdr_set_tuner_gain_mode(rtlsdr_dev_t *dev, int manual); + /* this will select the baseband filters according to the requested sample rate */ RTLSDR_API int rtlsdr_set_sample_rate(rtlsdr_dev_t *dev, uint32_t rate); |
