Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Fields
ast_format_cap Struct Reference

Format capabilities structure, holds formats + preference order + etc. More...

Collaboration diagram for ast_format_cap:
Collaboration graph
[legend]

Data Fields

struct {
   size_t   current
 
   struct format_cap_framed_list *   elems
 
   size_t   max
 
formats
 Vector of formats, indexed using the codec identifier. More...
 
unsigned int framing
 Global framing size, applies to all formats if no framing present on format. More...
 
struct {
   size_t   current
 
   struct format_cap_framed **   elems
 
   size_t   max
 
preference_order
 Vector of formats, added in preference order. More...
 

Detailed Description

Format capabilities structure, holds formats + preference order + etc.

Definition at line 54 of file format_cap.c.

Field Documentation

◆ current

size_t current

Definition at line 56 of file format_cap.c.

◆ elems [1/2]

struct format_cap_framed_list* elems

Definition at line 56 of file format_cap.c.

◆ elems [2/2]

struct format_cap_framed* * elems

Definition at line 58 of file format_cap.c.

◆ 

struct { ... } formats

◆ framing

unsigned int framing

Global framing size, applies to all formats if no framing present on format.

Definition at line 60 of file format_cap.c.

Referenced by ast_format_cap_get_format_framing(), ast_format_cap_get_framing(), ast_format_cap_set_framing(), format_cap_framed_init(), and format_cap_init().

◆ max

size_t max

Definition at line 56 of file format_cap.c.

◆ 

struct { ... } preference_order

The documentation for this struct was generated from the following file: