From 86c34428aabebc79ac0de7f1194e6b755a6fa213 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Fri, 4 May 2012 23:02:29 +0200 Subject: 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 --- include/rtl-sdr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/rtl-sdr.h') 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); -- cgit v1.3.1