From f86c6e0462f8208106d41e4be02b59c66ce50e5a Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Tue, 6 Nov 2012 18:36:47 -0500 Subject: analog: removing gr-analog as a required dependency when not actually necessary. Examples that use gr-analog test for it first. --- gr-vocoder/python/qa_cvsd_vocoder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gr-vocoder/python') diff --git a/gr-vocoder/python/qa_cvsd_vocoder.py b/gr-vocoder/python/qa_cvsd_vocoder.py index 61d434a39f..fc7ba35249 100755 --- a/gr-vocoder/python/qa_cvsd_vocoder.py +++ b/gr-vocoder/python/qa_cvsd_vocoder.py @@ -21,7 +21,6 @@ # from gnuradio import gr, gr_unittest -import analog_swig as analog from vocoder_swig import * from cvsd import * @@ -96,6 +95,8 @@ class test_cvsd_vocoder (gr_unittest.TestCase): -0.16035343706607819, 0.014823081903159618, 0.16282452642917633, 0.33802291750907898) + # WARNING: not importing analog in this QA code. + # If we enable this, we can probably just create a sin with numpy. src = analog.sig_source_f(sample_rate, analog.GR_SIN_WAVE, 200, 1, 0) head = gr.head(gr.sizeof_float, 100) src_scale = gr.multiply_const_ff(scale_factor) -- cgit v1.2.3