aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-13 12:22:03 -0800
committerJosh Blum <josh@joshknows.com>2011-01-13 12:22:03 -0800
commit41e774c7c38ed8498e8bfad877f237ed090238ce (patch)
tree6524261ccdcf364b31a1c27eb1268583d0fadf24 /host/lib/usrp/usrp1/usrp1_impl.hpp
parent2b52aff10d68b66fce0004ff5a2a025288cee1c6 (diff)
downloaduhd-41e774c7c38ed8498e8bfad877f237ed090238ce.tar.gz
uhd-41e774c7c38ed8498e8bfad877f237ed090238ce.tar.bz2
uhd-41e774c7c38ed8498e8bfad877f237ed090238ce.zip
usrp1: implement soft time ctrl for send at, recv at
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp
index ff4d40762..d92ce6e79 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.hpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.hpp
@@ -19,6 +19,7 @@
#include "usrp1_ctrl.hpp"
#include "clock_ctrl.hpp"
#include "codec_ctrl.hpp"
+#include "soft_time_ctrl.hpp"
#include <uhd/device.hpp>
#include <uhd/utils/pimpl.hpp>
#include <uhd/types/dict.hpp>
@@ -114,13 +115,16 @@ private:
const uhd::usrp::dboard_id_t &rx_dboard_id
);
+ //soft time control emulation
+ uhd::usrp::soft_time_ctrl::sptr _soft_time_ctrl;
+
//interface to ioctls and file descriptor
usrp1_iface::sptr _iface;
//handle io stuff
UHD_PIMPL_DECL(io_impl) _io_impl;
void io_init(void);
- void issue_stream_cmd(const uhd::stream_cmd_t &stream_cmd);
+ void stream_on_off(bool);
void handle_overrun(size_t);
//underrun and overrun poll intervals