diff options
author | Ciro Nishiguchi <ciro.nishiguchi@ni.com> | 2019-08-27 16:19:15 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:45 -0800 |
commit | 98209df92ea2a6abf6ed41af03bc3909b8e152b9 (patch) | |
tree | b794f5def785ea46304ea8ea4d95ea814adb422b /host/lib/include/uhdlib/transport/rx_streamer_impl.hpp | |
parent | 745fbf19bc22e98cee42acac04cda28c5f9bcbd4 (diff) | |
download | uhd-98209df92ea2a6abf6ed41af03bc3909b8e152b9.tar.gz uhd-98209df92ea2a6abf6ed41af03bc3909b8e152b9.tar.bz2 uhd-98209df92ea2a6abf6ed41af03bc3909b8e152b9.zip |
streamer: Add option to ignore sequence errors
Add template parameter to ignore sequence errors, used for testing.
Diffstat (limited to 'host/lib/include/uhdlib/transport/rx_streamer_impl.hpp')
-rw-r--r-- | host/lib/include/uhdlib/transport/rx_streamer_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp b/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp index c57a8e0d1..0691138e6 100644 --- a/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp +++ b/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp @@ -69,7 +69,7 @@ private: /*! * Implementation of rx streamer API */ -template <typename transport_t> +template <typename transport_t, bool ignore_seq_err = false> class rx_streamer_impl : public rx_streamer { public: @@ -352,7 +352,7 @@ private: std::vector<uhd::convert::converter::sptr> _converters; // Implementation of frame buffer management and packet info - rx_streamer_zero_copy<transport_t> _zero_copy_streamer; + rx_streamer_zero_copy<transport_t, ignore_seq_err> _zero_copy_streamer; // Container for buffer pointers used in recv method std::vector<const void*> _in_buffs; |