aboutsummaryrefslogtreecommitdiffstats
path: root/lib/source_impl.h
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-06-09 20:19:17 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2013-06-09 20:19:17 +0200
commit02f38ca90813582607f6ba790a5800817cd288ae (patch)
treec554431b01b1747f0224de3cca6e3d7b1dee8903 /lib/source_impl.h
parent656a9a014f5dd6d27f3f3c0a7a4bbee616485969 (diff)
uhd: implement dc correction
Diffstat (limited to 'lib/source_impl.h')
-rw-r--r--lib/source_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/source_impl.h b/lib/source_impl.h
index 5ed4cd2..e33f3d7 100644
--- a/lib/source_impl.h
+++ b/lib/source_impl.h
@@ -65,8 +65,11 @@ public:
std::string set_antenna( const std::string & antenna, size_t chan = 0 );
std::string get_antenna( size_t chan = 0 );
+ void set_dc_offset_mode( int mode, size_t chan = 0 );
+ void set_dc_offset( const std::complex<double> &offset, size_t chan = 0 );
+
void set_iq_balance_mode( int mode, size_t chan = 0 );
- void set_iq_balance( const std::complex<double> &correction, size_t chan = 0 );
+ void set_iq_balance( const std::complex<double> &balance, size_t chan = 0 );
double set_bandwidth( double bandwidth, size_t chan = 0 );
double get_bandwidth( size_t chan = 0 );