From 9bf02656507672dabcc06c6beb221af3e35b5ea8 Mon Sep 17 00:00:00 2001 From: dvossel Date: Thu, 7 Jul 2011 22:16:10 +0000 Subject: Adds missing celt.h file from celt pass-through support patch. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@326900 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/celt.h | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 include/asterisk/celt.h (limited to 'include/asterisk/celt.h') diff --git a/include/asterisk/celt.h b/include/asterisk/celt.h new file mode 100644 index 000000000..f4ba032f4 --- /dev/null +++ b/include/asterisk/celt.h @@ -0,0 +1,74 @@ +/* + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 2011, Digium, Inc. + * + * David Vossel + * + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. + * + * This program is free software, distributed under the terms of + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/*! + * \file + * \brief CELT Format Attributes + * + * \author David Vossel + */ +#ifndef _AST_FORMAT_CELT_H_ +#define _AST_FORMAT_CELT_H_ + +#define AST_CELT_DEFAULT_FRAME_SIZE 480 + +/*! CELT format attribute key value pairs, all are accessible through ast_format_get_value()*/ +enum celt_attr_keys { + CELT_ATTR_KEY_SAMP_RATE, /*!< value is an unsigned integer representing sample rate */ + CELT_ATTR_KEY_MAX_BITRATE, /*!< value is an int */ + CELT_ATTR_KEY_FRAME_SIZE, /*!< value is an int */ +}; + +#endif /* _AST_FORMAT_CELT_H */ +/* + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 2011, Digium, Inc. + * + * David Vossel + * + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. + * + * This program is free software, distributed under the terms of + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/*! + * \file + * \brief CELT Format Attributes + * + * \author David Vossel + */ +#ifndef _AST_FORMAT_CELT_H_ +#define _AST_FORMAT_CELT_H_ + +#define AST_CELT_DEFAULT_FRAME_SIZE 480 + +/*! CELT format attribute key value pairs, all are accessible through ast_format_get_value()*/ +enum celt_attr_keys { + CELT_ATTR_KEY_SAMP_RATE, /*!< value is an unsigned integer representing sample rate */ + CELT_ATTR_KEY_MAX_BITRATE, /*!< value is an int */ + CELT_ATTR_KEY_FRAME_SIZE, /*!< value is an int */ +}; + +#endif /* _AST_FORMAT_CELT_H */ -- cgit v1.2.3 From 41711d591d5f8f916a5afcb2dc0a517c4327fbfd Mon Sep 17 00:00:00 2001 From: qwell Date: Thu, 7 Jul 2011 22:39:54 +0000 Subject: I think reviewboard broke this. The whole file was doubled. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@326943 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/celt.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'include/asterisk/celt.h') diff --git a/include/asterisk/celt.h b/include/asterisk/celt.h index f4ba032f4..815525a7b 100644 --- a/include/asterisk/celt.h +++ b/include/asterisk/celt.h @@ -35,40 +35,3 @@ enum celt_attr_keys { }; #endif /* _AST_FORMAT_CELT_H */ -/* - * Asterisk -- An open source telephony toolkit. - * - * Copyright (C) 2011, Digium, Inc. - * - * David Vossel - * - * See http://www.asterisk.org for more information about - * the Asterisk project. Please do not directly contact - * any of the maintainers of this project for assistance; - * the project provides a web site, mailing lists and IRC - * channels for your use. - * - * This program is free software, distributed under the terms of - * the GNU General Public License Version 2. See the LICENSE file - * at the top of the source tree. - */ - -/*! - * \file - * \brief CELT Format Attributes - * - * \author David Vossel - */ -#ifndef _AST_FORMAT_CELT_H_ -#define _AST_FORMAT_CELT_H_ - -#define AST_CELT_DEFAULT_FRAME_SIZE 480 - -/*! CELT format attribute key value pairs, all are accessible through ast_format_get_value()*/ -enum celt_attr_keys { - CELT_ATTR_KEY_SAMP_RATE, /*!< value is an unsigned integer representing sample rate */ - CELT_ATTR_KEY_MAX_BITRATE, /*!< value is an int */ - CELT_ATTR_KEY_FRAME_SIZE, /*!< value is an int */ -}; - -#endif /* _AST_FORMAT_CELT_H */ -- cgit v1.2.3