diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-17 10:35:58 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-17 10:35:58 +0200 |
commit | 6bef750ac9b779fb28315b7c3f9385eddfdc3314 (patch) | |
tree | 341d767ec7b567c012e623c8217663700057fe40 /lib/osmosdr_source_c_impl.h | |
parent | 8748ee2b56c9cd9d2d316fd0a9e7b01a0910446f (diff) |
change gain mode argument to 'automatic' for clarity
Diffstat (limited to 'lib/osmosdr_source_c_impl.h')
-rw-r--r-- | lib/osmosdr_source_c_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/osmosdr_source_c_impl.h b/lib/osmosdr_source_c_impl.h index 20e3ded..0202fce 100644 --- a/lib/osmosdr_source_c_impl.h +++ b/lib/osmosdr_source_c_impl.h @@ -45,7 +45,7 @@ public: std::vector<std::string> get_gain_names( size_t chan = 0 ); osmosdr::gain_range_t get_gain_range( size_t chan = 0 ); osmosdr::gain_range_t get_gain_range( const std::string & name, size_t chan = 0 ); - bool set_gain_mode( bool mode, size_t chan = 0 ); + bool set_gain_mode( bool automatic, size_t chan = 0 ); bool get_gain_mode( size_t chan = 0 ); double set_gain( double gain, size_t chan = 0 ); double set_gain( double gain, const std::string & name, size_t chan = 0 ); |