diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-30 14:08:11 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-30 14:08:11 -0700 |
commit | a87552815119742d98561f9b53ab0da5513514bb (patch) | |
tree | 07a55e9132bd6ac57cdcf85f69aa50bce8f325c1 /gr-uhd/lib/uhd_simple_source.h | |
parent | 6851718b6d9a97a8c9397a1548708c7075de98e4 (diff) |
gr-uhd working with io type
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.h')
-rw-r--r-- | gr-uhd/lib/uhd_simple_source.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.h b/gr-uhd/lib/uhd_simple_source.h index 27fa2c3824..50b1c95183 100644 --- a/gr-uhd/lib/uhd_simple_source.h +++ b/gr-uhd/lib/uhd_simple_source.h @@ -29,11 +29,11 @@ class uhd_simple_source; boost::shared_ptr<uhd_simple_source> -uhd_make_simple_source(const std::string &args, const std::string &type); +uhd_make_simple_source(const std::string &args, const uhd::io_type_t::tid_t &type); class uhd_simple_source : public gr_sync_block{ public: - uhd_simple_source(const std::string &args, const std::string &type); + uhd_simple_source(const std::string &args, const uhd::io_type_t &type); ~uhd_simple_source(void); void set_samp_rate(double rate); @@ -49,8 +49,7 @@ public: protected: uhd::simple_device::sptr _dev; - std::string _type; - size_t _sizeof_samp; + const uhd::io_type_t _type; bool _is_streaming; void set_streaming(bool enb); }; |