diff options
| author | Josh Blum <josh@joshknows.com> | 2011-01-13 12:22:03 -0800 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-01-13 12:22:03 -0800 | 
| commit | 41e774c7c38ed8498e8bfad877f237ed090238ce (patch) | |
| tree | 6524261ccdcf364b31a1c27eb1268583d0fadf24 /host/lib/usrp/usrp1/usrp1_impl.hpp | |
| parent | 2b52aff10d68b66fce0004ff5a2a025288cee1c6 (diff) | |
| download | uhd-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.hpp | 6 | 
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 | 
