diff options
author | Martin Braun <martin.braun@ettus.com> | 2022-03-09 10:15:05 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-03-11 08:59:39 -0600 |
commit | 708f1c2b35eddf86205059108193437863340d4f (patch) | |
tree | ec1bb6de7508393223b936c3fbf283ec51249fd9 /host | |
parent | 910b797e180228acad19a23393c0ab5bbdc696fe (diff) | |
download | uhd-708f1c2b35eddf86205059108193437863340d4f.tar.gz uhd-708f1c2b35eddf86205059108193437863340d4f.tar.bz2 uhd-708f1c2b35eddf86205059108193437863340d4f.zip |
rfnoc: Remove UHD3-API usages
- rfnoc_replay_samples_from_file still had UHD3-vestiges for selecting
block port and ID
- The documentation for stream_args_t also included block port and ID
examples
Diffstat (limited to 'host')
-rw-r--r-- | host/examples/rfnoc_replay_samples_from_file.cpp | 3 | ||||
-rw-r--r-- | host/include/uhd/stream.hpp | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/host/examples/rfnoc_replay_samples_from_file.cpp b/host/examples/rfnoc_replay_samples_from_file.cpp index 0b378631b..2c1e5cb71 100644 --- a/host/examples/rfnoc_replay_samples_from_file.cpp +++ b/host/examples/rfnoc_replay_samples_from_file.cpp @@ -147,10 +147,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) uhd::tx_streamer::sptr tx_stream; uhd::tx_metadata_t tx_md; - streamer_args["block_id"] = replay_ctrl->get_block_id().to_string(); - streamer_args["block_port"] = std::to_string(replay_chan); stream_args.args = streamer_args; - stream_args.channels = {replay_chan}; tx_stream = graph->create_tx_streamer(stream_args.channels.size(), stream_args); graph->connect(tx_stream, 0, replay_ctrl->get_block_id(), replay_chan); graph->commit(); diff --git a/host/include/uhd/stream.hpp b/host/include/uhd/stream.hpp index e64cd7792..97cfc1ac5 100644 --- a/host/include/uhd/stream.hpp +++ b/host/include/uhd/stream.hpp @@ -43,17 +43,6 @@ namespace uhd { * * \b Note: Not all combinations of CPU and OTW format have conversion support. * You may however write and register your own conversion routines. - * - * If you are creating stream args to connect to an RFNoC block, then you might - * want to specify block ID and port, too: - * \code{.cpp} - * stream_args.args["block_id0"] = "0/Radio_0"; - * stream_args.args["block_id1"] = "0/Radio_1"; - * stream_args.args["block_id2"] = "0/Radio_1"; // Chan 1 and 2 go to the same radio - * stream_args.args["block_port0"] = "0"; - * stream_args.args["block_port1"] = "0"; - * stream_args.args["block_port2"] = "1"; - * \endcode */ struct UHD_API stream_args_t { |