|
gr-baz Package
|
capture samples from an RTL2832-based device. More...
#include <baz_rtl_source_c.h>
Public Member Functions | |
| ~baz_rtl_source_c () | |
| void | set_defaults () |
| bool | set_output_format (int size) |
| void | set_status_msgq (gr_msg_queue_sptr queue) |
| bool | create (bool reset_defaults=false) |
| void | destroy () |
| void | set_vid (uint16_t vid) |
| void | set_pid (uint16_t pid) |
| void | set_default_timeout (int timeout) |
| void | set_fir_coefficients (const std::vector< int > &coeffs) |
| void | set_crystal_frequency (uint32_t freq) |
| void | set_tuner_name (const char *name) |
| size_t | recv_samples_per_packet () const |
| uint64_t | samples_received () const |
| uint32_t | overflows () const |
| bool | running () const |
| uint32_t | buffer_size () const |
| uint32_t | buffer_times () const |
| bool | buffering () const |
| uint32_t | read_packet_count () const |
| uint32_t | buffer_overflow_count () const |
| uint32_t | buffer_underrun_count () const |
| void | set_relative_gain (bool on=true) |
| void | set_verbose (bool on=true) |
| void | set_read_length (uint32_t length) |
| void | set_buffer_multiplier (uint32_t mul) |
| void | set_use_buffer (bool use=true) |
| void | set_buffer_level (float level) |
| bool | relative_gain () const |
| bool | verbose () const |
| uint32_t | read_length () const |
| uint32_t | buffer_multiplier () const |
| bool | use_buffer () const |
| float | buffer_level () const |
| bool | set_sample_rate (double sample_rate) |
| bool | set_frequency (double freq) |
| bool | set_gain (double gain) |
| bool | set_bandwidth (double bandwidth) |
| bool | set_gain_mode (int mode) |
| bool | set_gain_mode (const char *mode) |
| bool | set_auto_gain_mode (bool on=true) |
| const char * | name () const |
| double | sample_rate () const |
| RTL2832_NAMESPACE::range_t | sample_rate_range () const |
| double | frequency () const |
| double | gain () const |
| double | bandwidth () const |
| int | gain_mode () const |
| std::string | gain_mode_string () const |
| bool | auto_gain_mode () const |
| RTL2832_NAMESPACE::range_t | gain_range () const |
| RTL2832_NAMESPACE::values_t | gain_values () const |
| RTL2832_NAMESPACE::range_t | frequency_range () const |
| RTL2832_NAMESPACE::range_t | bandwidth_range () const |
| RTL2832_NAMESPACE::values_t | bandwidth_values () const |
| RTL2832_NAMESPACE::num_name_map_t | gain_modes () const |
| std::pair< bool, int > | calc_appropriate_gain_mode () |
| bool | start () |
| bool | stop () |
| int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Friends | |
| BAZ_API baz_rtl_source_c_sptr | baz_make_rtl_source_c (bool defer_creation, int output_size) |
| Return a shared_ptr to a new instance of baz_rtl_source_c. | |
capture samples from an RTL2832-based device.
| bool baz_rtl_source_c::auto_gain_mode | ( | ) | const [inline] |
| double baz_rtl_source_c::bandwidth | ( | ) | const [inline] |
| RTL2832_NAMESPACE::range_t baz_rtl_source_c::bandwidth_range | ( | ) | const [inline] |
| RTL2832_NAMESPACE::values_t baz_rtl_source_c::bandwidth_values | ( | ) | const [inline] |
| float baz_rtl_source_c::buffer_level | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::buffer_multiplier | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::buffer_overflow_count | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::buffer_size | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::buffer_times | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::buffer_underrun_count | ( | ) | const [inline] |
| bool baz_rtl_source_c::buffering | ( | ) | const [inline] |
| std::pair<bool,int> baz_rtl_source_c::calc_appropriate_gain_mode | ( | ) | [inline] |
| bool baz_rtl_source_c::create | ( | bool | reset_defaults = false | ) |
| void baz_rtl_source_c::destroy | ( | ) |
| double baz_rtl_source_c::frequency | ( | ) | const [inline] |
| RTL2832_NAMESPACE::range_t baz_rtl_source_c::frequency_range | ( | ) | const [inline] |
| double baz_rtl_source_c::gain | ( | ) | const [inline] |
| int baz_rtl_source_c::gain_mode | ( | ) | const [inline] |
| std::string baz_rtl_source_c::gain_mode_string | ( | ) | const |
| RTL2832_NAMESPACE::num_name_map_t baz_rtl_source_c::gain_modes | ( | ) | const [inline] |
| RTL2832_NAMESPACE::range_t baz_rtl_source_c::gain_range | ( | ) | const [inline] |
| RTL2832_NAMESPACE::values_t baz_rtl_source_c::gain_values | ( | ) | const [inline] |
| int baz_rtl_source_c::general_work | ( | int | noutput_items, |
| gr_vector_int & | ninput_items, | ||
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) |
| const char* baz_rtl_source_c::name | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::overflows | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::read_length | ( | ) | const [inline] |
| uint32_t baz_rtl_source_c::read_packet_count | ( | ) | const [inline] |
| size_t baz_rtl_source_c::recv_samples_per_packet | ( | ) | const [inline] |
| bool baz_rtl_source_c::relative_gain | ( | ) | const [inline] |
| bool baz_rtl_source_c::running | ( | ) | const [inline] |
| double baz_rtl_source_c::sample_rate | ( | ) | const [inline] |
| RTL2832_NAMESPACE::range_t baz_rtl_source_c::sample_rate_range | ( | ) | const [inline] |
| uint64_t baz_rtl_source_c::samples_received | ( | ) | const [inline] |
| bool baz_rtl_source_c::set_auto_gain_mode | ( | bool | on = true | ) |
| bool baz_rtl_source_c::set_bandwidth | ( | double | bandwidth | ) |
| void baz_rtl_source_c::set_buffer_level | ( | float | level | ) | [inline] |
| void baz_rtl_source_c::set_buffer_multiplier | ( | uint32_t | mul | ) | [inline] |
| void baz_rtl_source_c::set_crystal_frequency | ( | uint32_t | freq | ) | [inline] |
| void baz_rtl_source_c::set_default_timeout | ( | int | timeout | ) | [inline] |
| void baz_rtl_source_c::set_defaults | ( | ) |
| void baz_rtl_source_c::set_fir_coefficients | ( | const std::vector< int > & | coeffs | ) | [inline] |
References RTL2832_FIR_COEFF_COUNT.
| bool baz_rtl_source_c::set_frequency | ( | double | freq | ) |
| bool baz_rtl_source_c::set_gain | ( | double | gain | ) |
| bool baz_rtl_source_c::set_gain_mode | ( | int | mode | ) |
| bool baz_rtl_source_c::set_gain_mode | ( | const char * | mode | ) |
| bool baz_rtl_source_c::set_output_format | ( | int | size | ) |
| void baz_rtl_source_c::set_pid | ( | uint16_t | pid | ) | [inline] |
| void baz_rtl_source_c::set_read_length | ( | uint32_t | length | ) | [inline] |
| void baz_rtl_source_c::set_relative_gain | ( | bool | on = true | ) | [inline] |
| bool baz_rtl_source_c::set_sample_rate | ( | double | sample_rate | ) |
| void baz_rtl_source_c::set_status_msgq | ( | gr_msg_queue_sptr | queue | ) |
| void baz_rtl_source_c::set_tuner_name | ( | const char * | name | ) | [inline] |
References RTL2832_TUNER_NAME_LEN.
| void baz_rtl_source_c::set_use_buffer | ( | bool | use = true | ) | [inline] |
| void baz_rtl_source_c::set_verbose | ( | bool | on = true | ) | [inline] |
| void baz_rtl_source_c::set_vid | ( | uint16_t | vid | ) | [inline] |
| bool baz_rtl_source_c::start | ( | ) |
| bool baz_rtl_source_c::stop | ( | ) |
| bool baz_rtl_source_c::use_buffer | ( | ) | const [inline] |
| bool baz_rtl_source_c::verbose | ( | ) | const [inline] |
| BAZ_API baz_rtl_source_c_sptr baz_make_rtl_source_c | ( | bool | defer_creation, |
| int | output_size | ||
| ) | [friend] |
Return a shared_ptr to a new instance of baz_rtl_source_c.