diff options
author | Josh Blum | 2011-10-10 20:49:01 -0700 |
---|---|---|
committer | Josh Blum | 2011-11-07 18:56:28 -0800 |
commit | 861a185c6f964d1c0057b341db332bf9b6387ffb (patch) | |
tree | 47a97aed21bec63b982c7dc834140a030b19b071 /gr-uhd | |
parent | 011e784e1e51ae8a99ade2c95a43a463ab6902a9 (diff) | |
download | gnuradio-861a185c6f964d1c0057b341db332bf9b6387ffb.tar.gz gnuradio-861a185c6f964d1c0057b341db332bf9b6387ffb.tar.bz2 gnuradio-861a185c6f964d1c0057b341db332bf9b6387ffb.zip |
uhd: preferable defaults for stream args
Diffstat (limited to 'gr-uhd')
-rw-r--r-- | gr-uhd/include/gr_uhd_usrp_sink.h | 6 | ||||
-rw-r--r-- | gr-uhd/include/gr_uhd_usrp_source.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_sink.h b/gr-uhd/include/gr_uhd_usrp_sink.h index 47e815c02..3b4c80879 100644 --- a/gr-uhd/include/gr_uhd_usrp_sink.h +++ b/gr-uhd/include/gr_uhd_usrp_sink.h @@ -29,8 +29,10 @@ #ifndef INCLUDED_UHD_STREAM_HPP namespace uhd{ struct GR_UHD_API stream_args_t{ - stream_args_t(void){} - stream_args_t(const std::string &cpu, const std::string &otw="sc16"){ + stream_args_t( + const std::string &cpu = "", + const std::string &otw = "" + ){ cpu_format = cpu; otw_format = otw; } diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h index 2433d422d..00747f161 100644 --- a/gr-uhd/include/gr_uhd_usrp_source.h +++ b/gr-uhd/include/gr_uhd_usrp_source.h @@ -29,8 +29,10 @@ #ifndef INCLUDED_UHD_STREAM_HPP namespace uhd{ struct GR_UHD_API stream_args_t{ - stream_args_t(void){} - stream_args_t(const std::string &cpu, const std::string &otw="sc16"){ + stream_args_t( + const std::string &cpu = "", + const std::string &otw = "" + ){ cpu_format = cpu; otw_format = otw; } |