Asterisk - The Open Source Telephony Project GIT-master-a63eec2
Loading...
Searching...
No Matches
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.
 
unsigned int channel_count
 The number if audio channels used, if more than one an interleaved format is required.
 
struct ast_codeccodec
 Pointer to the codec in use for this format.
 
const struct ast_format_interfaceinterface
 Pointer to the optional format interface.
 
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_get_attribute_data(), ast_format_joint(), and ast_format_set_attribute_data().

◆ 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.

Referenced by ast_format_create_named(), ast_format_get_channel_count(), and ast_format_set_channel_count().

◆ codec

struct ast_codec* codec

◆ 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(), ast_format_create_named(), and format_destroy().

◆ name

const char* name

Name of the format

Definition at line 45 of file format.c.

Referenced by ast_format_clone(), ast_format_create_named(), ast_format_get_name(), PathSegment::get_child(), and SwaggerType::load().


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