diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-14 23:15:58 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-14 23:15:58 +0000 |
commit | 6d43a4e83814c5c325caefb35eb1e07b415d8d37 (patch) | |
tree | d90e5d4559990ac1a81ec3e2b3ee55c2eb0aba95 /host/examples/rx_timed_samples.cpp | |
parent | ec451d811c335af672d7a8ffbcfd3d0a1a645b2b (diff) | |
download | uhd-6d43a4e83814c5c325caefb35eb1e07b415d8d37.tar.gz uhd-6d43a4e83814c5c325caefb35eb1e07b415d8d37.tar.bz2 uhd-6d43a4e83814c5c325caefb35eb1e07b415d8d37.zip |
fix type, it was supposed to be complex float
Diffstat (limited to 'host/examples/rx_timed_samples.cpp')
-rw-r--r-- | host/examples/rx_timed_samples.cpp | 2 |
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)); |