Asterisk - The Open Source Telephony Project GIT-master-f36a736
silk.h
Go to the documentation of this file.
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/*!
20 * \file
21 * \brief SILK Format Attributes
22 *
23 * \author David Vossel <dvossel@digium.com>
24 */
25#ifndef _AST_FORMAT_SILK_H_
26#define _AST_FORMAT_SILK_H_
27
28/*! SILK format attribute key value pairs, all are accessible through ast_format_get_value()*/
30 SILK_ATTR_KEY_SAMP_RATE, /*!< value is silk_attr_vals enum */
31 SILK_ATTR_KEY_DTX, /*!< value is an int, 1 dtx is enabled, 0 dtx not enabled. */
32 SILK_ATTR_KEY_FEC, /*!< value is an int, 1 encode with FEC, 0 do not use FEC. */
33 SILK_ATTR_KEY_PACKETLOSS_PERCENTAGE, /*!< value is an int (0-100), Represents estimated packetloss in uplink direction.*/
34 SILK_ATTR_KEY_MAX_BITRATE, /*!< value is an int */
35};
36
42};
43
44#endif /* _AST_FORMAT_SILK_H */
silk_attr_vals
Definition: silk.h:37
@ SILK_ATTR_VAL_SAMP_12KHZ
Definition: silk.h:39
@ SILK_ATTR_VAL_SAMP_24KHZ
Definition: silk.h:41
@ SILK_ATTR_VAL_SAMP_8KHZ
Definition: silk.h:38
@ SILK_ATTR_VAL_SAMP_16KHZ
Definition: silk.h:40
silk_attr_keys
Definition: silk.h:29
@ SILK_ATTR_KEY_DTX
Definition: silk.h:31
@ SILK_ATTR_KEY_FEC
Definition: silk.h:32
@ SILK_ATTR_KEY_MAX_BITRATE
Definition: silk.h:34
@ SILK_ATTR_KEY_PACKETLOSS_PERCENTAGE
Definition: silk.h:33
@ SILK_ATTR_KEY_SAMP_RATE
Definition: silk.h:30