Imported Upstream version 3.0
[debian/gnuradio] / gr-gsm-fr-vocoder / src / lib / gsm_full_rate.i
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2005 Free Software Foundation, Inc.
4  * 
5  * This file is part of GNU Radio
6  * 
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  * 
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with GNU Radio; see the file COPYING.  If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 %feature("autodoc","1");
24 %include "exception.i"
25 %import "gnuradio.i"
26
27 %{
28 #include "gnuradio_swig_bug_workaround.h"       // mandatory bug fix
29 #include "gsm_fr_encode_sp.h"
30 #include "gsm_fr_decode_ps.h"
31 #include <stdexcept>
32 %}
33
34 GR_SWIG_BLOCK_MAGIC(gsm_fr,encode_sp);
35
36 gsm_fr_encode_sp_sptr gsm_fr_make_encode_sp ();
37
38 class gsm_fr_encode_sp : public gr_sync_decimator {
39 public:
40   ~gsm_fr_encode_sp ();
41 };
42
43 // ----------------------------------------------------------------
44
45 GR_SWIG_BLOCK_MAGIC(gsm_fr,decode_ps);
46
47 gsm_fr_decode_ps_sptr gsm_fr_make_decode_ps ();
48
49 class gsm_fr_decode_ps : public gr_sync_interpolator {
50 public:
51   ~gsm_fr_decode_ps ();
52 };