diff options
author | Johnathan Corgan | 2012-03-13 17:38:12 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-03-13 17:38:12 -0700 |
commit | 62c6323bdb06d7d3f103d3a75265d45ae6ce00b4 (patch) | |
tree | 7f995aba5eb3f2e0bfeac3a4114307fd2c5a6f3a /gr-uhd/lib/gr_uhd_amsg_source.cc | |
parent | 83c6ee03ada6a44788421ebfe813b7d594fc8a7a (diff) | |
parent | 8e013157752f1b42665430fde0f1c6f7d7147153 (diff) | |
download | gnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.tar.gz gnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.tar.bz2 gnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.zip |
Merge remote branch 'gnuradio/maint' into gr-uhd-set-user-register
Diffstat (limited to 'gr-uhd/lib/gr_uhd_amsg_source.cc')
-rw-r--r-- | gr-uhd/lib/gr_uhd_amsg_source.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_amsg_source.cc b/gr-uhd/lib/gr_uhd_amsg_source.cc index f2958f115..08941584b 100644 --- a/gr-uhd/lib/gr_uhd_amsg_source.cc +++ b/gr-uhd/lib/gr_uhd_amsg_source.cc @@ -75,6 +75,11 @@ protected: bool _running; }; +uhd::async_metadata_t uhd_amsg_source::msg_to_async_metadata_t(const gr_message_sptr msg) +{ + return *(uhd::async_metadata_t *)msg->msg(); +} + /*********************************************************************** * Make UHD Asynchronous Message Source **********************************************************************/ |