Asterisk - The Open Source Telephony Project  18.5.0
Enumerations
silk.h File Reference

SILK Format Attributes. More...

Go to the source code of this file.

Enumerations

enum  silk_attr_keys {
  SILK_ATTR_KEY_SAMP_RATE, SILK_ATTR_KEY_DTX, SILK_ATTR_KEY_FEC, SILK_ATTR_KEY_PACKETLOSS_PERCENTAGE,
  SILK_ATTR_KEY_MAX_BITRATE
}
 
enum  silk_attr_vals { SILK_ATTR_VAL_SAMP_8KHZ = (1 << 0), SILK_ATTR_VAL_SAMP_12KHZ = (1 << 1), SILK_ATTR_VAL_SAMP_16KHZ = (1 << 2), SILK_ATTR_VAL_SAMP_24KHZ = (1 << 3) }
 

Detailed Description

SILK Format Attributes.

Author
David Vossel dvoss.nosp@m.el@d.nosp@m.igium.nosp@m..com

Definition in file silk.h.

Enumeration Type Documentation

◆ silk_attr_keys

SILK format attribute key value pairs, all are accessible through ast_format_get_value()

Enumerator
SILK_ATTR_KEY_SAMP_RATE 

value is silk_attr_vals enum

SILK_ATTR_KEY_DTX 

value is an int, 1 dtx is enabled, 0 dtx not enabled.

SILK_ATTR_KEY_FEC 

value is an int, 1 encode with FEC, 0 do not use FEC.

SILK_ATTR_KEY_PACKETLOSS_PERCENTAGE 

value is an int (0-100), Represents estimated packetloss in uplink direction.

SILK_ATTR_KEY_MAX_BITRATE 

value is an int

Definition at line 29 of file silk.h.

29  {
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 };

◆ silk_attr_vals

Enumerator
SILK_ATTR_VAL_SAMP_8KHZ 
SILK_ATTR_VAL_SAMP_12KHZ 
SILK_ATTR_VAL_SAMP_16KHZ 
SILK_ATTR_VAL_SAMP_24KHZ 

Definition at line 37 of file silk.h.