summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_source.h
diff options
context:
space:
mode:
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 156b9f357..43c4a647a 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 */