summaryrefslogtreecommitdiff
path: root/gr-uhd/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-09-29 20:43:40 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2012-09-29 21:47:22 -0700
commit3795a17b08404ff7ce5958afe1585b6b2ba561d7 (patch)
tree784d8741746739363504556faab1d700b77f1c40 /gr-uhd/lib
parent2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651 (diff)
uhd: provide source block hook for issue stream cmd
Diffstat (limited to 'gr-uhd/lib')
-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 ad4cb4d81c..139caf9dd5 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);