From 6f6429c45b87a07b94309c176469063c9bb5658c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 31 May 2019 15:08:44 -0700 Subject: uhd: types: Extend stream_cmd_t::num_samps to 64 bits Newer devices may be able to provide more then 32 bits worth of samples. --- host/include/uhd/types/stream_cmd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/types/stream_cmd.hpp b/host/include/uhd/types/stream_cmd.hpp index 9cd1e581f..747fa6a3c 100644 --- a/host/include/uhd/types/stream_cmd.hpp +++ b/host/include/uhd/types/stream_cmd.hpp @@ -41,7 +41,7 @@ struct UHD_API stream_cmd_t STREAM_MODE_NUM_SAMPS_AND_DONE = int('d'), STREAM_MODE_NUM_SAMPS_AND_MORE = int('m') } stream_mode; - size_t num_samps; + uint64_t num_samps; bool stream_now; time_spec_t time_spec; -- cgit v1.2.3