Sat Apr 26 2014 22:03:19

Asterisk developer's documentation


silk.h File Reference

SILK Format Attributes. More...

This graph shows which files directly or indirectly include this file:

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 <dvossel@digium.com>

Definition in file silk.h.


Enumeration Type Documentation

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.

                    {
   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 */
};
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.