diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-04-17 13:43:52 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-04-29 14:52:56 -0400 |
commit | f3e2e07201c50033bf6c9d0c6a6f068557b4f17f (patch) | |
tree | 140b3c2d20a951ffd4abd564c3378ee2e2f9fc7c /gr-audio/examples/c++/dial_tone.cc | |
parent | 35303ae975a5b1bdecc2492bc96e2b8e89b62a3d (diff) |
runtime: converting runtime core to gr namespace, gnuradio include dir.
Diffstat (limited to 'gr-audio/examples/c++/dial_tone.cc')
-rw-r--r-- | gr-audio/examples/c++/dial_tone.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-audio/examples/c++/dial_tone.cc b/gr-audio/examples/c++/dial_tone.cc index f866edfdee..0547d36edc 100644 --- a/gr-audio/examples/c++/dial_tone.cc +++ b/gr-audio/examples/c++/dial_tone.cc @@ -37,7 +37,7 @@ */ // Include header files for each block used in flowgraph -#include <gr_top_block.h> +#include <gnuradio/top_block.h> #include <analog/sig_source_f.h> #include <audio/sink.h> @@ -49,9 +49,9 @@ int main(int argc, char **argv) float ampl = 0.1; // Don't exceed 0.5 or clipping will occur // Construct a top block that will contain flowgraph blocks. Alternatively, - // one may create a derived class from gr_top_block and hold instantiated blocks + // one may create a derived class from top_block and hold instantiated blocks // as member data for later manipulation. - gr_top_block_sptr tb = gr_make_top_block("dial_tone"); + top_block_sptr tb = make_top_block("dial_tone"); // Construct a real-valued signal source for each tone, at given sample rate analog::sig_source_f::sptr src0 = analog::sig_source_f::make(rate, analog::GR_SIN_WAVE, 350, ampl); |