summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.h')
-rw-r--r--gr-uhd/lib/uhd_simple_sink.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.h b/gr-uhd/lib/uhd_simple_sink.h
index e57ba4abb..aa8d1144c 100644
--- a/gr-uhd/lib/uhd_simple_sink.h
+++ b/gr-uhd/lib/uhd_simple_sink.h
@@ -29,11 +29,11 @@
class uhd_simple_sink;
boost::shared_ptr<uhd_simple_sink>
-uhd_make_simple_sink(const std::string &args, const std::string &type);
+uhd_make_simple_sink(const std::string &args, const uhd::io_type_t::tid_t &type);
class uhd_simple_sink : public gr_sync_block{
public:
- uhd_simple_sink(const std::string &args, const std::string &type);
+ uhd_simple_sink(const std::string &args, const uhd::io_type_t &type);
~uhd_simple_sink(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;
};
#endif /* INCLUDED_UHD_SIMPLE_SINK_H */