Debian Codegraph @

Xpjproject/pjmedia/include/pjmedia-codec/gsm.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
3 * Copyright (C) 2003-2008 Benny Prijono <[email protected]>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 #ifndef __PJMEDIA_CODEC_GSM_H__
20 #define __PJMEDIA_CODEC_GSM_H__
21
22 /**
23 * @file pjmedia-codec/gsm.h
24 * @brief GSM 06.10 codec.
25 */
26
27 #include <pjmedia-codec/types.h>
28
29 /**
30 * @defgroup PJMED_GSM GSM 06.10 Codec
31 * @ingroup PJMEDIA_CODEC_CODECS
32 * @brief Implementation of GSM FR based on GSM 06.10 library
33 * @{
34 *
35 * This section describes functions to initialize and register GSM codec
36 * factory to the codec manager. After the codec factory has been registered,
37 * application can use @ref PJMEDIA_CODEC API to manipulate the codec.
38 *
39 * The GSM codec supports 16-bit PCM with sampling rate of 8000Hz resulting
40 * in 13.2kbps bitrate.
41 *
42 * \section gsm_codec_setting Codec Settings
43 *
44 * \subsection gsm_general_setting General Settings
45 *
46 * General codec settings for this codec such as VAD and PLC can be
47 * manipulated through the <tt>setting</tt> field in #pjmedia_codec_param.
48 * Please see the documentation of #pjmedia_codec_param for more info.
49 *
50 * \subsection gsm_specific_setting Codec Specific Settings
51 *
52 * Currently none.
53 */
54
55 PJ_BEGIN_DECL
56
57
58 /**
59 * Initialize and register GSM codec factory to pjmedia endpoint.
60 *
61 * @param endpt The pjmedia endpoint.
62 *
63 * @return PJ_SUCCESS on success.
64 */
65 PJ_DECL(pj_status_t) pjmedia_codec_gsm_init( pjmedia_endpt *endpt );
66
67
68
69 /**
70 * Unregister GSM codec factory from pjmedia endpoint and deinitialize
71 * the GSM codec library.
72 *
73 * @return PJ_SUCCESS on success.
74 */
75 PJ_DECL(pj_status_t) pjmedia_codec_gsm_deinit(void);
76
77
78 PJ_END_DECL
79
80
81 /**
82 * @}
83 */
84
85 #endif /* __PJMEDIA_CODEC_GSM_H__ */
86