Debian Codegraph @

Xpjproject/pjmedia/include/pjmedia-codec/l16.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_L16_H__
20 #define __PJMEDIA_CODEC_L16_H__
21
22 #include <pjmedia-codec/types.h>
23
24
25 /**
26 * @defgroup PJMED_L16 L16 Codec Family
27 * @ingroup PJMEDIA_CODEC_CODECS
28 * @brief Implementation of PCM/16bit/linear codecs
29 * @{
30 *
31 * This section describes functions to initialize and register L16 codec
32 * factory to the codec manager. After the codec factory has been registered,
33 * application can use @ref PJMEDIA_CODEC API to manipulate the codec.
34 *
35 * Note that the L16 codec factory registers several (about fourteen!)
36 * L16 codec types to codec manager (different combinations of clock
37 * rate and number of channels).
38 *
39 * \section l16_codec_setting Codec Settings
40 *
41 * \subsection l16_general_setting General Settings
42 *
43 * General codec settings for this codec such as VAD and PLC can be
44 * manipulated through the <tt>setting</tt> field in #pjmedia_codec_param.
45 * Please see the documentation of #pjmedia_codec_param for more info.
46 *
47 * \subsection l16_specific_setting Codec Specific Settings
48 *
49 * Currently none.
50 */
51
52 PJ_BEGIN_DECL
53
54
55 /**
56 * Initialize and register L16 codec factory to pjmedia endpoint.
57 *
58 * @param endpt The pjmedia endpoint.
59 * @param options Must be zero for now.
60 *
61 * @return PJ_SUCCESS on success.
62 */
63 PJ_DECL(pj_status_t) pjmedia_codec_l16_init( pjmedia_endpt *endpt,
64 unsigned options);
65
66
67
68 /**
69 * Unregister L16 codec factory from pjmedia endpoint.
70 *
71 * @return PJ_SUCCESS on success.
72 */
73 PJ_DECL(pj_status_t) pjmedia_codec_l16_deinit(void);
74
75
76 PJ_END_DECL
77
78 /**
79 * @}
80 */
81
82 #endif /* __PJMEDIA_CODEC_L16_H__ */
83