diff options
Diffstat (limited to 'gr-cvsd-vocoder/src/lib')
-rw-r--r-- | gr-cvsd-vocoder/src/lib/Makefile.am | 2 | ||||
-rw-r--r-- | gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc | 4 | ||||
-rw-r--r-- | gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/gr-cvsd-vocoder/src/lib/Makefile.am b/gr-cvsd-vocoder/src/lib/Makefile.am index 402a10eed..c4f1fac39 100644 --- a/gr-cvsd-vocoder/src/lib/Makefile.am +++ b/gr-cvsd-vocoder/src/lib/Makefile.am @@ -73,6 +73,8 @@ _cvsd_vocoder_la_LIBADD = \ $(GNURADIO_CORE_LA) \ -lstdc++ +_cvsd_vocoder_la_CXXFLAGS = @swig_CXXFLAGS@ + cvsd_vocoder.cc cvsd_vocoder.py: cvsd_vocoder.i $(ALL_IFILES) $(SWIG) $(SWIGPYTHONARGS) -module cvsd_vocoder -o cvsd_vocoder.cc $(LOCAL_IFILES) diff --git a/gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc b/gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc index 6b44c57e5..1dad15d43 100644 --- a/gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc +++ b/gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc @@ -64,12 +64,8 @@ cvsd_decode_bs::cvsd_decode_bs (short min_step, short max_step, double step_deca d_stepsize(min_step) { - assert(d_pos_accum_max <= SHRT_MAX); - assert(d_neg_accum_max >= -SHRT_MAX); assert(d_K <= 32); assert(d_J <= d_K); - - // nothing else required in this example } diff --git a/gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc b/gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc index c2d13d19b..561b91c68 100644 --- a/gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc +++ b/gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc @@ -63,12 +63,8 @@ cvsd_encode_sb::cvsd_encode_sb (short min_step, short max_step, double step_deca d_stepsize(min_step) { - assert(d_pos_accum_max <= SHRT_MAX); - assert(d_neg_accum_max >= -SHRT_MAX); assert(d_K <= 32); assert(d_J <= d_K); - - // nothing else required in this example } |