GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
codec2.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014,2016,2019 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef _VOCODER_CODEC2_H_
12 #define _VOCODER_CODEC2_H_
13 
14 #include <gnuradio/vocoder/api.h>
15 
16 extern "C" {
17 #include <codec2/codec2.h>
18 }
19 
20 namespace gr {
21 namespace vocoder {
22 
24 {
25 public:
26  enum bit_rate {
27  MODE_3200 = CODEC2_MODE_3200,
28  MODE_2400 = CODEC2_MODE_2400,
29  MODE_1600 = CODEC2_MODE_1600,
30  MODE_1400 = CODEC2_MODE_1400,
31  MODE_1300 = CODEC2_MODE_1300,
32  MODE_1200 = CODEC2_MODE_1200,
33 #ifdef CODEC2_MODE_700
34  MODE_700 = CODEC2_MODE_700,
35 #endif
36 #ifdef CODEC2_MODE_700B
37  MODE_700B = CODEC2_MODE_700B,
38 #endif
39 #ifdef CODEC2_MODE_700C
40  MODE_700C = CODEC2_MODE_700C,
41 #endif
42 #ifdef CODEC2_MODE_WB
43  MODE_WB = CODEC2_MODE_WB,
44 #endif
45 #ifdef CODEC2_MODE_450
46  MODE_450 = CODEC2_MODE_450,
47 #endif
48 #ifdef CODEC2_MODE_450PWB
49  MODE_450PWB = CODEC2_MODE_450PWB,
50 #endif
51  };
52 
53 private:
54 };
55 
56 } /* namespace vocoder */
57 } /* namespace gr */
58 
59 #endif /* _VOCODER_CODEC2_H_ */
Definition: codec2.h:24
bit_rate
Definition: codec2.h:26
#define VOCODER_API
Definition: gr-vocoder/include/gnuradio/vocoder/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29