aboutsummaryrefslogtreecommitdiffstats
path: root/include/rtl-sdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtl-sdr.h')
-rw-r--r--include/rtl-sdr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rtl-sdr.h b/include/rtl-sdr.h
index 489e117..fe64bea 100644
--- a/include/rtl-sdr.h
+++ b/include/rtl-sdr.h
@@ -216,6 +216,15 @@ RTLSDR_API int rtlsdr_get_tuner_gains(rtlsdr_dev_t *dev, int *gains);
RTLSDR_API int rtlsdr_set_tuner_gain(rtlsdr_dev_t *dev, int gain);
/*!
+ * Set the bandwidth for the device.
+ *
+ * \param dev the device handle given by rtlsdr_open()
+ * \param bw bandwidth in Hz. Zero means automatic BW selection.
+ * \return 0 on success
+ */
+RTLSDR_API int rtlsdr_set_tuner_bandwidth(rtlsdr_dev_t *dev, uint32_t bw);
+
+/*!
* Get actual gain the device is configured to.
*
* \param dev the device handle given by rtlsdr_open()