diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-23 12:37:11 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-23 12:37:11 -0700 |
commit | c36b8a83b1b510a0a8bc6e5600a537cbedea8f30 (patch) | |
tree | f87a3048953e206a6d6c7edd18de91a40642814d /host/lib/usrp/usrp1/usrp1_impl.hpp | |
parent | 7ee585f2b9f74a3732e364095f7e5b8f18ae3595 (diff) | |
download | uhd-c36b8a83b1b510a0a8bc6e5600a537cbedea8f30.tar.gz uhd-c36b8a83b1b510a0a8bc6e5600a537cbedea8f30.tar.bz2 uhd-c36b8a83b1b510a0a8bc6e5600a537cbedea8f30.zip |
usrp1: multi-channel tx working, modified vrt handler to interleave
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp index 3ea35f970..20ae3c02a 100644 --- a/host/lib/usrp/usrp1/usrp1_impl.hpp +++ b/host/lib/usrp/usrp1/usrp1_impl.hpp @@ -94,11 +94,11 @@ public: static const size_t BYTES_PER_PACKET = 512*4; //under the transfer size size_t get_max_send_samps_per_packet(void) const { - return BYTES_PER_PACKET/_tx_otw_type.get_sample_size(); + return BYTES_PER_PACKET/_tx_otw_type.get_sample_size()/_tx_subdev_spec.size(); } size_t get_max_recv_samps_per_packet(void) const { - return BYTES_PER_PACKET/_rx_otw_type.get_sample_size(); + return BYTES_PER_PACKET/_rx_otw_type.get_sample_size()/_rx_subdev_spec.size(); } bool recv_async_msg(uhd::async_metadata_t &, size_t); |