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

Definition of a media format. More...

Collaboration diagram for ast_format:
Collaboration graph
[legend]

Data Fields

void * attribute_data
 Attribute specific data, implementation specific. More...
 
unsigned int channel_count
 The number if audio channels used, if more than one an interleaved format is required. More...
 
struct ast_codeccodec
 Pointer to the codec in use for this format. More...
 
const struct ast_format_interfaceinterface
 Pointer to the optional format interface. More...
 
const char * name
 

Detailed Description

Definition of a media format.

Definition at line 43 of file format.c.

Field Documentation

◆ attribute_data

void* attribute_data

Attribute specific data, implementation specific.

Definition at line 49 of file format.c.

Referenced by ast_format_joint().

◆ channel_count

unsigned int channel_count

The number if audio channels used, if more than one an interleaved format is required.

Definition at line 53 of file format.c.

◆ codec

struct ast_codec* codec

Pointer to the codec in use for this format.

Definition at line 47 of file format.c.

Referenced by add_sdp(), ast_format_cap_append_by_type(), ast_format_cmp(), ast_format_joint(), ast_rtp_write(), AST_TEST_DEFINE(), and dahdi_sendtext().

◆ interface

const struct ast_format_interface* interface

Pointer to the optional format interface.

Definition at line 51 of file format.c.

Referenced by ast_format_clone().

◆ name

const char* name

Name of the format

Definition at line 45 of file format.c.

Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), and SwaggerType::load().


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