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

Definition of a media format. More...

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.

Examples:
/tmp/asterisk-shallow/main/app.c.

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_interface_register(), ast_format_clone(), ast_format_cmp(), ast_format_create_named(), ast_format_joint(), and format_destroy().

◆ name

const char* name

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