diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-10 15:57:08 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-10 15:57:08 +0000 |
commit | 8c7a3cbbf75a2611701925d28b956476d9035272 (patch) | |
tree | d7a01cb48206fe87cca36fc7ed3c5640aa634214 /pjmedia/include/pjmedia-codec/gsm.h | |
parent | bb9a7993790bd9aac174bf8f08344dbb16ad7aa1 (diff) |
Added pjmedia-codec library
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@176 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include/pjmedia-codec/gsm.h')
-rw-r--r-- | pjmedia/include/pjmedia-codec/gsm.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia-codec/gsm.h b/pjmedia/include/pjmedia-codec/gsm.h new file mode 100644 index 00000000..abcc9fbb --- /dev/null +++ b/pjmedia/include/pjmedia-codec/gsm.h @@ -0,0 +1,52 @@ +/* $Id$ */ +/* + * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +#ifndef __PJMEDIA_CODEC_GSM_H__ +#define __PJMEDIA_CODEC_GSM_H__ + +#include <pjmedia-codec/types.h> + + +PJ_BEGIN_DECL + + +/** + * Initialize and register GSM codec factory to pjmedia endpoint. + * + * @param endpt The pjmedia endpoint. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_codec_gsm_init( pjmedia_endpt *endpt ); + + + +/** + * Unregister GSM codec factory from pjmedia endpoint and deinitialize + * the GSM codec library. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_codec_gsm_deinit(void); + + +PJ_END_DECL + + +#endif /* __PJMEDIA_CODEC_GSM_H__ */ + |