From 35599ee9c8a2822c0f480673b4d8d8e87049094c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 14 Mar 2019 08:32:26 +0100 Subject: Add analog bandwidth configuration to UHD and Soapy outputs --- src/output/SDRDevice.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/output/SDRDevice.h') diff --git a/src/output/SDRDevice.h b/src/output/SDRDevice.h index 90a1123..a1a488f 100644 --- a/src/output/SDRDevice.h +++ b/src/output/SDRDevice.h @@ -63,6 +63,7 @@ struct SDRDeviceConfig { double txgain = 0.0; double rxgain = 0.0; bool enableSync = false; + double bandwidth = 0.0; // When working with timestamps, mute the frames that // do not have a timestamp @@ -124,6 +125,8 @@ class SDRDevice { virtual double get_real_secs(void) const = 0; virtual void set_rxgain(double rxgain) = 0; virtual double get_rxgain(void) const = 0; + virtual void set_bandwidth(double bandwidth) = 0; + virtual double get_bandwidth(void) const = 0; virtual size_t receive_frame( complexf *buf, size_t num_samples, -- cgit v1.2.3