diff options
author | eb | 2009-03-19 19:59:48 +0000 |
---|---|---|
committer | eb | 2009-03-19 19:59:48 +0000 |
commit | 1910719ec29a12be380b9fa3dcd3ab893ce87ce2 (patch) | |
tree | 87de344c79e51765761b63a65b8c5470036d6ecd /gr-usrp/apps/usrp_siggen.h | |
parent | 06d584f74eb9407d804ce9d560c31d7c240b086f (diff) | |
download | gnuradio-1910719ec29a12be380b9fa3dcd3ab893ce87ce2.tar.gz gnuradio-1910719ec29a12be380b9fa3dcd3ab893ce87ce2.tar.bz2 gnuradio-1910719ec29a12be380b9fa3dcd3ab893ce87ce2.zip |
Merged remainder of eb/t348 10637:10648. This adds a -N <nsamples>
argument to usrp_siggen.py, usrp_siggen.cc and test_usrp_standard_tx.cc.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10650 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp/apps/usrp_siggen.h')
-rw-r--r-- | gr-usrp/apps/usrp_siggen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gr-usrp/apps/usrp_siggen.h b/gr-usrp/apps/usrp_siggen.h index 009a2447e..053c4bdfa 100644 --- a/gr-usrp/apps/usrp_siggen.h +++ b/gr-usrp/apps/usrp_siggen.h @@ -31,7 +31,7 @@ typedef boost::shared_ptr<usrp_siggen> usrp_siggen_sptr; usrp_siggen_sptr make_usrp_siggen(int which, usrp_subdev_spec spec, double rf_freq, int interp, double wfreq, int waveform, float amp, float gain, - float offset); + float offset, long long nsamples); class usrp_siggen : public gr_top_block { @@ -39,11 +39,12 @@ private: usrp_siggen(int which, usrp_subdev_spec spec, double rf_freq, int interp, double wfreq, int waveform, float amp, float gain, - float offset); + float offset, long long nsamples); friend usrp_siggen_sptr make_usrp_siggen(int which, usrp_subdev_spec spec, double rf_freq, int interp, double wfreq, int waveform, float amp, float gain, - float offset); + float offset, + long long nsamples); public: gr_block_sptr source; |