summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/gr_uhd_usrp_source.cc
diff options
context:
space:
mode:
authorJosh Blum2012-09-29 20:43:40 -0700
committerJohnathan Corgan2012-09-29 21:47:22 -0700
commit3795a17b08404ff7ce5958afe1585b6b2ba561d7 (patch)
tree784d8741746739363504556faab1d700b77f1c40 /gr-uhd/lib/gr_uhd_usrp_source.cc
parent2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651 (diff)
downloadgnuradio-3795a17b08404ff7ce5958afe1585b6b2ba561d7.tar.gz
gnuradio-3795a17b08404ff7ce5958afe1585b6b2ba561d7.tar.bz2
gnuradio-3795a17b08404ff7ce5958afe1585b6b2ba561d7.zip
uhd: provide source block hook for issue stream cmd
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r--gr-uhd/lib/gr_uhd_usrp_source.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc
index ad4cb4d81..139caf9dd 100644
--- a/gr-uhd/lib/gr_uhd_usrp_source.cc
+++ b/gr-uhd/lib/gr_uhd_usrp_source.cc
@@ -402,6 +402,11 @@ public:
_stream_now = false;
}
+ void issue_stream_cmd(const uhd::stream_cmd_t &cmd)
+ {
+ _dev->issue_stream_cmd(cmd);
+ }
+
bool start(void){
#ifdef GR_UHD_USE_STREAM_API
_rx_stream = _dev->get_rx_stream(_stream_args);