summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/examples/rx_timed_samples.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp
index eb7ef7251..a7212eba3 100644
--- a/host/examples/rx_timed_samples.cpp
+++ b/host/examples/rx_timed_samples.cpp
@@ -83,7 +83,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//setup recv buffer, io type, and metadata for recv
uhd::rx_metadata_t md;
- uhd::io_type_t io_type(uhd::io_type_t::COMPLEX_INT16);
+ uhd::io_type_t io_type(uhd::io_type_t::COMPLEX_FLOAT32);
std::vector<std::complex<float> > recv_mem(dev->get_max_recv_samps_per_packet());
boost::asio::mutable_buffer buff(boost::asio::buffer(recv_mem));