diff options
author | steviez <steve.czabaniuk@ni.com> | 2020-04-09 11:20:35 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-04-13 07:19:12 -0500 |
commit | b6ff5fd2837bed63b09798e4fa187b169b7dcdc2 (patch) | |
tree | bd232a2bca9f50cb12ade337466172d630f5f4f6 /host/lib/rfnoc/block_control.cpp | |
parent | 26ff29348931389f7c7e8d78bc4c3630dfc8d342 (diff) | |
download | uhd-b6ff5fd2837bed63b09798e4fa187b169b7dcdc2.tar.gz uhd-b6ff5fd2837bed63b09798e4fa187b169b7dcdc2.tar.bz2 uhd-b6ff5fd2837bed63b09798e4fa187b169b7dcdc2.zip |
multi_usrp_rfnoc: Manually pass sample rate to ddc/duc
This adds (and calls) methods to manually pass radio block sample rate
to the input/output properties of the ddc/duc during creation of the
multi_usrp_rfnoc object. The ddc/duc require this information in order
to return valid, possible output/input sample rates in
get_rx_rates()/get_tx_rates().
Before, the ddc/duc wouldn't have this rate until the rfnoc_graph had
been connected and committed, which happens in
get_rx_stream()/get_tx_stream(). Thus, this fixes an issue where a user
was unable to query possible sample rates prior to specifying a sample
rate and creating a stream.
Diffstat (limited to 'host/lib/rfnoc/block_control.cpp')
0 files changed, 0 insertions, 0 deletions