diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-06-09 20:19:17 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-06-09 20:19:17 +0200 |
commit | 02f38ca90813582607f6ba790a5800817cd288ae (patch) | |
tree | c554431b01b1747f0224de3cca6e3d7b1dee8903 /lib/sink_impl.h | |
parent | 656a9a014f5dd6d27f3f3c0a7a4bbee616485969 (diff) |
uhd: implement dc correction
Diffstat (limited to 'lib/sink_impl.h')
-rw-r--r-- | lib/sink_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sink_impl.h b/lib/sink_impl.h index 22ba6ae..9cf2843 100644 --- a/lib/sink_impl.h +++ b/lib/sink_impl.h @@ -60,8 +60,9 @@ public: std::string set_antenna( const std::string & antenna, size_t chan = 0 ); std::string get_antenna( 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_dc_offset( const std::complex<double> &offset, 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 ); |