diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:36:06 +0100 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:36:06 +0100 |
commit | 0f371eeca1ad5abcac3ab36bcc854b4a63ada2e8 (patch) | |
tree | 5253875839f03933079244f77f88f342a94f7c51 /lib/file | |
parent | 878c80d8ca6e159038ff8e6ee974f54233f7a3d9 (diff) |
remove gain_mode getter/setter where not used
Diffstat (limited to 'lib/file')
-rw-r--r-- | lib/file/file_source_c.cc | 10 | ||||
-rw-r--r-- | lib/file/file_source_c.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/file/file_source_c.cc b/lib/file/file_source_c.cc index 2816716..e62ce60 100644 --- a/lib/file/file_source_c.cc +++ b/lib/file/file_source_c.cc @@ -183,16 +183,6 @@ osmosdr::gain_range_t file_source_c::get_gain_range( const std::string & name, s return get_gain_range( chan ); } -bool file_source_c::set_gain_mode( bool automatic, size_t chan ) -{ - return get_gain_mode(chan); -} - -bool file_source_c::get_gain_mode( size_t chan ) -{ - return true; -} - double file_source_c::set_gain( double gain, size_t chan ) { return get_gain(chan); diff --git a/lib/file/file_source_c.h b/lib/file/file_source_c.h index ace491e..68f12ab 100644 --- a/lib/file/file_source_c.h +++ b/lib/file/file_source_c.h @@ -63,8 +63,6 @@ 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 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 ); double get_gain( size_t chan = 0 ); |