diff options
Diffstat (limited to 'lib/hackrf/hackrf_sink_c.cc')
-rw-r--r-- | lib/hackrf/hackrf_sink_c.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hackrf/hackrf_sink_c.cc b/lib/hackrf/hackrf_sink_c.cc index 58a49cb..470509b 100644 --- a/lib/hackrf/hackrf_sink_c.cc +++ b/lib/hackrf/hackrf_sink_c.cc @@ -671,7 +671,7 @@ std::string hackrf_sink_c::get_antenna( size_t chan ) double hackrf_sink_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; @@ -695,9 +695,9 @@ double hackrf_sink_c::get_bandwidth( size_t chan ) return _bandwidth; } -osmosdr::meta_range_t hackrf_sink_c::get_bandwidth_range( size_t chan ) +osmosdr::freq_range_t hackrf_sink_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 |