summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_source.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-01 11:50:09 -0800
committerJosh Blum <josh@joshknows.com>2010-03-01 11:50:09 -0800
commit00f9ccaa50ed26d71a66d19f8f1518874004c5de (patch)
treef3ab00752187a69411e6d18f9f96ac87188b9cd4 /gr-uhd/lib/uhd_simple_source.h
parent7c23fd43214e8a729b3022db281dc85040f0e749 (diff)
recv noise with uhd
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.h')
-rw-r--r--gr-uhd/lib/uhd_simple_source.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.h b/gr-uhd/lib/uhd_simple_source.h
index 156b9f357d..43c4a647af 100644
--- a/gr-uhd/lib/uhd_simple_source.h
+++ b/gr-uhd/lib/uhd_simple_source.h
@@ -29,7 +29,7 @@
class uhd_simple_source;
boost::shared_ptr<uhd_simple_source>
-uhd_make_simple_source(const uhd::device_addr_t &addr, const std::string &type);
+uhd_make_simple_source(const std::string &args, const std::string &type);
class uhd_simple_source : public gr_sync_block{
public:
@@ -43,8 +43,11 @@ public:
);
protected:
+ void set_streaming(bool enb);
+
uhd::device::sptr _dev;
std::string _type;
+ size_t _sizeof_samp;
};
#endif /* INCLUDED_UHD_SIMPLE_SOURCE_H */