Wed Aug 18 22:34:37 2010

Asterisk developer's documentation


ast_format_list Struct Reference

Definition of supported media formats (codecs). More...

#include <frame.h>


Data Fields

int bits
int cur_ms
int def_ms
char * desc
unsigned int flags
int fr_len
int inc_ms
int max_ms
int min_ms
char * name
int samplespersecond


Detailed Description

Definition of supported media formats (codecs).

Definition at line 421 of file frame.h.


Field Documentation

int bits

bitmask value

Definition at line 422 of file frame.h.

Referenced by ast_codec_choose(), ast_codec_pref_getsize(), ast_codec_pref_index(), ast_getformatbyname(), ast_getformatname(), ast_getformatname_multiple(), handle_open_receive_channel_ack_message(), skinny_set_rtp_peer(), and transmit_connect().

int cur_ms

Current value

Definition at line 432 of file frame.h.

Referenced by add_codec_to_sdp(), ast_codec_pref_getsize(), ast_rtp_bridge(), ast_rtp_codec_setpref(), ast_rtp_write(), handle_open_receive_channel_ack_message(), skinny_set_rtp_peer(), and transmit_connect().

int def_ms

Default value

Definition at line 430 of file frame.h.

Referenced by ast_codec_pref_getsize(), and ast_codec_pref_setsize().

char* desc

Description

Definition at line 425 of file frame.h.

Referenced by ast_codec2str().

unsigned int flags

Smoother flags

Definition at line 431 of file frame.h.

Referenced by ast_rtp_codec_setpref(), and ast_rtp_write().

int fr_len

Single frame length in bytes

Definition at line 426 of file frame.h.

Referenced by ast_rtp_codec_setpref(), and ast_rtp_write().

int inc_ms

Increment

Definition at line 429 of file frame.h.

Referenced by ast_codec_pref_getsize(), ast_codec_pref_setsize(), ast_rtp_codec_setpref(), and ast_rtp_write().

int max_ms

Max value

Definition at line 428 of file frame.h.

Referenced by ast_codec_pref_getsize(), and ast_codec_pref_setsize().

int min_ms

Min value

Definition at line 427 of file frame.h.

Referenced by ast_codec_pref_getsize(), and ast_codec_pref_setsize().

char* name

short name

Definition at line 423 of file frame.h.

Referenced by ast_getformatname().

int samplespersecond

Number of samples per second (8000/16000)

Definition at line 424 of file frame.h.


The documentation for this struct was generated from the following file:
Generated on Wed Aug 18 22:34:37 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7