diff options
Diffstat (limited to 'gnuradio-examples')
-rw-r--r-- | gnuradio-examples/c++/dialtone/dialtone.cc | 4 | ||||
-rwxr-xr-x | gnuradio-examples/python/audio/dial_tone2.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-examples/c++/dialtone/dialtone.cc b/gnuradio-examples/c++/dialtone/dialtone.cc index 08ecccf75..0debb2856 100644 --- a/gnuradio-examples/c++/dialtone/dialtone.cc +++ b/gnuradio-examples/c++/dialtone/dialtone.cc @@ -36,8 +36,8 @@ gr_hier_block2("dialtone", gr_make_io_signature(0,0,0), gr_make_io_signature(0,0,0)) { - define_component("source0", gr_make_sig_source_f(48000, GR_SIN_WAVE, 350, 0.5)); - define_component("source1", gr_make_sig_source_f(48000, GR_SIN_WAVE, 440, 0.5)); + define_component("source0", gr_make_sig_source_f(48000, GR_SIN_WAVE, 350, 0.1)); + define_component("source1", gr_make_sig_source_f(48000, GR_SIN_WAVE, 440, 0.1)); define_component("sink", audio_alsa_make_sink(48000)); connect("source0", 0, "sink", 0); diff --git a/gnuradio-examples/python/audio/dial_tone2.py b/gnuradio-examples/python/audio/dial_tone2.py index a91c6ff4d..5881f06f7 100755 --- a/gnuradio-examples/python/audio/dial_tone2.py +++ b/gnuradio-examples/python/audio/dial_tone2.py @@ -55,7 +55,7 @@ if __name__ == '__main__': top_block = dial_tone() runtime = gr.runtime(top_block) - try: - runtime.run() + try: + runtime.run() except KeyboardInterrupt: - runtime.stop() + pass |