diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-04-30 21:00:57 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-04-30 21:00:57 +0200 |
commit | 13477f279f94cd6749cee077b7c742f1cecc9378 (patch) | |
tree | 8dfb52fed3392676efa378a03dd9973b13fa6937 /lib/hackrf/hackrf_source_c.cc | |
parent | 7ed94c6242d281ca382d50573db768e0f9099f8d (diff) |
source/sink: return freq_range_t in get_bandwidth_range()
it was meta_range_t (which is binary compatible) before.
Diffstat (limited to 'lib/hackrf/hackrf_source_c.cc')
-rw-r--r-- | lib/hackrf/hackrf_source_c.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hackrf/hackrf_source_c.cc b/lib/hackrf/hackrf_source_c.cc index c2699fa..76eb5fd 100644 --- a/lib/hackrf/hackrf_source_c.cc +++ b/lib/hackrf/hackrf_source_c.cc @@ -649,7 +649,7 @@ std::string hackrf_source_c::get_antenna( size_t chan ) double hackrf_source_c::set_bandwidth( double bandwidth, size_t chan ) { int ret; -// osmosdr::meta_range_t bandwidths = get_bandwidth_range( chan ); +// osmosdr::freq_range_t bandwidths = get_bandwidth_range( chan ); if ( bandwidth == 0.0 ) /* bandwidth of 0 means automatic filter selection */ bandwidth = _sample_rate; @@ -673,9 +673,9 @@ double hackrf_source_c::get_bandwidth( size_t chan ) return _bandwidth; } -osmosdr::meta_range_t hackrf_source_c::get_bandwidth_range( size_t chan ) +osmosdr::freq_range_t hackrf_source_c::get_bandwidth_range( size_t chan ) { - osmosdr::meta_range_t bandwidths; + osmosdr::freq_range_t bandwidths; // TODO: read out from libhackrf when an API is available |