Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
include
asterisk
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()*/
29
enum
silk_attr_keys
{
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
37
enum
silk_attr_vals {
38
SILK_ATTR_VAL_SAMP_8KHZ = (1 << 0),
39
SILK_ATTR_VAL_SAMP_12KHZ = (1 << 1),
40
SILK_ATTR_VAL_SAMP_16KHZ = (1 << 2),
41
SILK_ATTR_VAL_SAMP_24KHZ = (1 << 3),
42
};
43
44
#endif
/* _AST_FORMAT_SILK_H */
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
SILK_ATTR_KEY_FEC
Definition:
silk.h:32
SILK_ATTR_KEY_DTX
Definition:
silk.h:31
silk_attr_keys
silk_attr_keys
Definition:
silk.h:29
Generated on Tue Jul 15 2025 11:50:49 for Asterisk - The Open Source Telephony Project by
1.8.10