diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-14 08:32:26 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-14 08:32:26 +0100 |
commit | 35599ee9c8a2822c0f480673b4d8d8e87049094c (patch) | |
tree | 56be40a6f632dd5cdf00e902e3b1fa2d30cccdd1 /src/output/SDRDevice.h | |
parent | e0992467867e4832b3333fb0cb5a638d05250bd3 (diff) | |
download | dabmod-35599ee9c8a2822c0f480673b4d8d8e87049094c.tar.gz dabmod-35599ee9c8a2822c0f480673b4d8d8e87049094c.tar.bz2 dabmod-35599ee9c8a2822c0f480673b4d8d8e87049094c.zip |
Add analog bandwidth configuration to UHD and Soapy outputs
Diffstat (limited to 'src/output/SDRDevice.h')
-rw-r--r-- | src/output/SDRDevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |