diff options
Diffstat (limited to 'gr-gsm-fr-vocoder/src')
-rw-r--r-- | gr-gsm-fr-vocoder/src/lib/Makefile.am | 3 | ||||
-rw-r--r-- | gr-gsm-fr-vocoder/src/lib/gsm_fr_decode_ps.cc | 4 | ||||
-rw-r--r-- | gr-gsm-fr-vocoder/src/lib/gsm_fr_encode_sp.cc | 4 | ||||
-rwxr-xr-x | gr-gsm-fr-vocoder/src/python/qa_gsm_full_rate.py | 6 |
4 files changed, 8 insertions, 9 deletions
diff --git a/gr-gsm-fr-vocoder/src/lib/Makefile.am b/gr-gsm-fr-vocoder/src/lib/Makefile.am index 3b0270c2f..97d6fc306 100644 --- a/gr-gsm-fr-vocoder/src/lib/Makefile.am +++ b/gr-gsm-fr-vocoder/src/lib/Makefile.am @@ -40,8 +40,7 @@ libgnuradio_gsm_fr_vocoder_la_LIBADD = \ $(GNURADIO_CORE_LA) \ gsm/libgsm.la -libgnuradio_gsm_fr_vocoder_la_LDFLAGS = \ - $(NO_UNDEFINED) +libgnuradio_gsm_fr_vocoder_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS) if PYTHON # SWIG interface and library diff --git a/gr-gsm-fr-vocoder/src/lib/gsm_fr_decode_ps.cc b/gr-gsm-fr-vocoder/src/lib/gsm_fr_decode_ps.cc index c4fc782fa..9b788dedf 100644 --- a/gr-gsm-fr-vocoder/src/lib/gsm_fr_decode_ps.cc +++ b/gr-gsm-fr-vocoder/src/lib/gsm_fr_decode_ps.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2005 Free Software Foundation, Inc. + * Copyright 2005,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -34,7 +34,7 @@ extern "C"{ gsm_fr_decode_ps_sptr gsm_fr_make_decode_ps () { - return gsm_fr_decode_ps_sptr (new gsm_fr_decode_ps ()); + return gnuradio::get_initial_sptr(new gsm_fr_decode_ps ()); } gsm_fr_decode_ps::gsm_fr_decode_ps () diff --git a/gr-gsm-fr-vocoder/src/lib/gsm_fr_encode_sp.cc b/gr-gsm-fr-vocoder/src/lib/gsm_fr_encode_sp.cc index 3fd35db04..10bd1fef8 100644 --- a/gr-gsm-fr-vocoder/src/lib/gsm_fr_encode_sp.cc +++ b/gr-gsm-fr-vocoder/src/lib/gsm_fr_encode_sp.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2005 Free Software Foundation, Inc. + * Copyright 2005,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -33,7 +33,7 @@ extern "C"{ gsm_fr_encode_sp_sptr gsm_fr_make_encode_sp () { - return gsm_fr_encode_sp_sptr (new gsm_fr_encode_sp ()); + return gnuradio::get_initial_sptr(new gsm_fr_encode_sp ()); } gsm_fr_encode_sp::gsm_fr_encode_sp () diff --git a/gr-gsm-fr-vocoder/src/python/qa_gsm_full_rate.py b/gr-gsm-fr-vocoder/src/python/qa_gsm_full_rate.py index ac5084072..4164a1965 100755 --- a/gr-gsm-fr-vocoder/src/python/qa_gsm_full_rate.py +++ b/gr-gsm-fr-vocoder/src/python/qa_gsm_full_rate.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2004,2007 Free Software Foundation, Inc. +# Copyright 2004,2007,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -23,7 +23,7 @@ from gnuradio import gr, gr_unittest import gsm_full_rate -class qa_howto (gr_unittest.TestCase): +class test_gsm_vocoder (gr_unittest.TestCase): def setUp (self): self.tb = gr.top_block () @@ -32,4 +32,4 @@ class qa_howto (gr_unittest.TestCase): self.tb = None if __name__ == '__main__': - gr_unittest.main () + gr_unittest.run(test_gsm_vocoder, "test_gsm_vocoder.xml") |