celt.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Asterisk -- An open source telephony toolkit.
  3. *
  4. * Copyright (C) 2011, Digium, Inc.
  5. *
  6. * David Vossel <dvossel@digium.com>
  7. *
  8. * See http://www.asterisk.org for more information about
  9. * the Asterisk project. Please do not directly contact
  10. * any of the maintainers of this project for assistance;
  11. * the project provides a web site, mailing lists and IRC
  12. * channels for your use.
  13. *
  14. * This program is free software, distributed under the terms of
  15. * the GNU General Public License Version 2. See the LICENSE file
  16. * at the top of the source tree.
  17. */
  18. /*!
  19. * \file
  20. * \brief CELT Format Attributes
  21. *
  22. * \author David Vossel <dvossel@digium.com>
  23. */
  24. #ifndef _AST_FORMAT_CELT_H_
  25. #define _AST_FORMAT_CELT_H_
  26. #define AST_CELT_DEFAULT_FRAME_SIZE 480
  27. /*! CELT format attribute key value pairs, all are accessible through ast_format_get_value()*/
  28. enum celt_attr_keys {
  29. CELT_ATTR_KEY_SAMP_RATE, /*!< value is an unsigned integer representing sample rate */
  30. CELT_ATTR_KEY_MAX_BITRATE, /*!< value is an int */
  31. CELT_ATTR_KEY_FRAME_SIZE, /*!< value is an int */
  32. };
  33. #endif /* _AST_FORMAT_CELT_H */