Sat Apr 12 07:12:57 2008

Asterisk developer's documentation


ast_frame Struct Reference

Data structure associated with a single frame of data. More...

#include <frame.h>


Public Member Functions

 AST_LIST_ENTRY (ast_frame) frame_list

Data Fields

void * data
int datalen
struct timeval delivery
enum ast_frame_type frametype
int has_timing_info
long len
int mallocd
size_t mallocd_hdr_len
int offset
int samples
int seqno
const char * src
int subclass
long ts


Detailed Description

Data structure associated with a single frame of data.

Definition at line 128 of file frame.h.


Member Function Documentation

AST_LIST_ENTRY ( ast_frame   ) 

For placing in a linked list


Field Documentation

void* data

Pointer to actual data

Definition at line 146 of file frame.h.

Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_framein(), adpcmtolin_sample(), adsi_careful_send(), alawtolin_framein(), alawtolin_sample(), alawtoulaw_framein(), alawtoulaw_sample(), alsa_read(), alsa_write(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_free(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_generic_bridge(), ast_prod(), ast_queue_control_data(), ast_recvtext(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_slinfactory_read(), ast_smoother_read(), ast_trans_frameout(), ast_udptl_write(), ast_waitfordigit_full(), ast_write(), bridge_native_loop(), bridge_p2p_loop(), cb_events(), conf_run(), console_sendtext(), console_sendtext_deprecated(), copy_data_from_queue(), do_immediate_setup(), function_ilink(), g723_read(), g723_write(), g726_read(), g726_write(), g726aal2tolin_framein(), g726tog726aal2_framein(), g726tolin_framein(), g729_read(), g729_write(), gsm_read(), gsm_write(), gsmtolin_framein(), gsmtolin_sample(), h263_read(), h263_write(), h264_read(), h264_write(), handle_link_data(), iax2_send(), iax2_sendimage(), iax2_trunk_queue(), iax_frame_wrap(), ices_exec(), ilbc_read(), ilbc_write(), jb_get_and_deliver(), jpeg_read_image(), jpeg_write_image(), linear_generator(), lintoadpcm_framein(), lintoadpcm_sample(), lintoalaw_framein(), lintoalaw_sample(), lintog726_framein(), lintog726aal2_framein(), lintogsm_framein(), lintogsm_sample(), lintolpc10_framein(), lintolpc10_sample(), lintospeex_framein(), lintospeex_sample(), lintoulaw_framein(), lintoulaw_sample(), local_indicate(), local_sendhtml(), local_sendtext(), lpc10tolin_framein(), lpc10tolin_sample(), measurenoise(), misdn_read(), misdn_write(), moh_generate(), nbs_xread(), nbs_xwrite(), ogg_vorbis_read(), ogg_vorbis_write(), oss_read(), oss_write(), pcm_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), playtones_generator(), process_rfc3389(), receive_message(), rpt(), rpt_exec(), run_agi(), send_link_dtmf(), send_tone_burst(), slinear_read(), slinear_write(), sms_exec(), sms_generate(), socket_process(), speech_background(), speextolin_framein(), speextolin_sample(), spy_generate(), tonepair_generator(), udptl_rx_packet(), ulawtoalaw_framein(), ulawtoalaw_sample(), ulawtolin_framein(), ulawtolin_sample(), vox_read(), vox_write(), wait_for_answer(), waitstream_core(), wav_read(), wav_write(), zap_framein(), zap_frameout(), zt_handle_event(), zt_read(), and zt_write().

int datalen

Length of data

Definition at line 134 of file frame.h.

Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_framein(), adpcmtolin_sample(), adsi_careful_send(), alawtolin_sample(), alawtoulaw_sample(), alsa_read(), alsa_write(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frdup(), ast_frisolate(), ast_generic_bridge(), ast_queue_control_data(), ast_read_generator_actions(), ast_recvtext(), ast_rtcp_read(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_smoother_read(), ast_trans_frameout(), ast_udptl_write(), ast_waitfordigit_full(), ast_write(), bridge_native_loop(), bridge_p2p_loop(), cb_events(), conf_run(), console_sendtext(), console_sendtext_deprecated(), copy_data_from_queue(), do_immediate_setup(), framein(), function_ilink(), g723_read(), g723_write(), g726_read(), g726_write(), g726aal2tolin_framein(), g726tog726aal2_framein(), g726tolin_framein(), g729_read(), g729_write(), gsm_write(), gsmtolin_framein(), gsmtolin_sample(), h263_read(), h263_write(), h264_read(), h264_write(), handle_link_data(), iax2_send(), iax2_sendimage(), iax2_trunk_queue(), iax_frame_wrap(), iaxfrdup2(), ices_exec(), ilbc_read(), ilbc_write(), jb_get_and_deliver(), jpeg_read_image(), jpeg_write_image(), linear_generator(), lintoadpcm_framein(), lintoadpcm_sample(), lintoalaw_sample(), lintogsm_framein(), lintogsm_sample(), lintolpc10_framein(), lintolpc10_sample(), lintospeex_framein(), lintospeex_sample(), lintoulaw_sample(), local_indicate(), local_sendhtml(), local_sendtext(), lpc10tolin_framein(), lpc10tolin_sample(), milliwatt_generate(), misdn_read(), moh_generate(), nbs_xread(), nbs_xwrite(), ogg_vorbis_read(), ogg_vorbis_write(), oss_read(), oss_write(), pcm_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), playtones_generator(), process_rfc3389(), receive_message(), rpt(), rpt_exec(), run_agi(), send_dtmf(), send_link_dtmf(), send_tone_burst(), slinear_read(), slinear_write(), sms_generate(), socket_process(), speech_background(), speextolin_framein(), speextolin_sample(), spy_generate(), tonepair_generator(), udptl_rx_packet(), ulawtoalaw_sample(), ulawtolin_sample(), vox_read(), vox_write(), wait_for_answer(), waitstream_core(), wav_read(), wav_write(), zap_framein(), zap_frameout(), zt_handle_event(), zt_read(), and zt_write().

struct timeval delivery [read]

Kind of frame

Definition at line 130 of file frame.h.

Referenced by __adsi_transmit_messages(), __ast_play_and_record(), __ast_read(), __ast_request_and_dial(), __ast_smoother_feed(), __attempt_transmit(), __get_from_jb(), __oh323_update_info(), __send_command(), __zt_exception(), adpcmtolin_sample(), adsi_careful_send(), agent_ack_sleep(), agent_read(), agent_write(), alawtolin_sample(), alawtoulaw_sample(), alsa_read(), app_exec(), ast_bridge_call(), ast_channel_spy_read_frame(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_feature_request_and_dial(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_generic_bridge(), ast_jb_put(), ast_queue_frame(), ast_read_generator_actions(), ast_recvtext(), ast_rtcp_read(), ast_rtp_read(), ast_rtp_write(), ast_smoother_read(), ast_trans_frameout(), ast_translate(), ast_udptl_bridge(), ast_udptl_write(), ast_waitfordigit_full(), ast_write(), ast_writestream(), async_wait(), autoservice_run(), background_detect_exec(), bridge_native_loop(), bridge_p2p_loop(), calc_timestamp(), cb_events(), channel_spy(), conf_exec(), conf_run(), console_sendtext(), console_sendtext_deprecated(), decode_frame(), dictate_exec(), disa_exec(), do_autoanswer_thread(), do_holding_thread(), do_immediate_setup(), do_parking_thread(), do_waiting(), echo_exec(), fakesrc_sample(), function_ilink(), g723_read(), g723_write(), g726_read(), g726_write(), g726tolin_sample(), g729_read(), g729_write(), gsm_read(), gsm_write(), gsmtolin_sample(), gtalk_digit(), gtalk_rtp_read(), gtalk_write(), h263_read(), h263_write(), h264_read(), h264_write(), handle_frame(), handle_frame_ownerless(), handle_keypad_button_message(), handle_link_data(), handle_recordfile(), handle_request(), iax2_bridge(), iax2_send(), iax2_write(), iax_frame_wrap(), ices_exec(), ilbc_read(), ilbc_write(), isAnsweringMachine(), jb_get_and_deliver(), jpeg_read_image(), jpeg_write_image(), linear_generator(), lintoadpcm_sample(), lintoalaw_sample(), lintog726_sample(), lintogsm_sample(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_sample(), local_queue_frame(), local_write(), lpc10tolin_sample(), measurenoise(), mgcp_rtp_read(), mgcp_write(), milliwatt_generate(), misdn_bridge(), misdn_read(), mohalloc(), mp3_exec(), nbs_xwrite(), NBScat_exec(), ogg_vorbis_read(), ogg_vorbis_write(), oh323_rtp_read(), oh323_simulate_dtmf_end(), oh323_write(), oss_call(), oss_read(), pcm_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), playtones_generator(), process_ast_dsp(), process_rfc3389(), receive_digit(), receive_dtmf_digits(), receive_message(), record_exec(), recordthread(), rpt(), rpt_exec(), run_agi(), schedule_delivery(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), sendurl_exec(), silence_generator_generate(), sip_rtp_read(), sip_write(), skinny_rtp_read(), skinny_write(), slinear_read(), slinear_write(), sms_exec(), sms_generate(), socket_process(), speech_background(), speextolin_sample(), ss_thread(), tonepair_generator(), udptl_rx_packet(), ulawtoalaw_sample(), ulawtolin_sample(), vox_read(), vox_write(), wait_for_answer(), wait_for_winner(), waitforring_exec(), waitstream_core(), wav_read(), wav_write(), zap_frameout(), zt_bridge(), zt_handle_dtmfup(), zt_handle_event(), zt_read(), and zt_write().

Timing data flag

Definition at line 152 of file frame.h.

Referenced by __do_deliver(), ast_frdup(), ast_frisolate(), ast_jb_put(), ast_rtp_raw_write(), ast_rtp_read(), ast_translate(), and framein().

long len

int mallocd

The number of bytes allocated for a malloc'd frame header

Definition at line 140 of file frame.h.

Referenced by ast_frame_header_new(), and ast_frdup().

int offset

int samples

Number of 8khz samples in this frame

Definition at line 136 of file frame.h.

Referenced by __ast_read(), __ast_smoother_feed(), __get_from_jb(), __zt_exception(), adpcmtolin_framein(), adpcmtolin_sample(), adsi_careful_send(), alawtolin_framein(), alawtolin_sample(), alawtoulaw_framein(), alawtoulaw_sample(), alsa_read(), ast_frame_adjust_volume(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_read_generator_actions(), ast_rtcp_read(), ast_rtp_raw_write(), ast_rtp_read(), ast_slinfactory_read(), ast_smoother_read(), ast_trans_frameout(), ast_translate(), ast_write(), calc_cost(), calc_timestamp(), cb_events(), conf_run(), copy_data_from_queue(), dictate_exec(), do_immediate_setup(), framein(), fsk_serie(), function_ilink(), g723_read(), g726_read(), g726aal2tolin_framein(), g726tog726aal2_framein(), g726tolin_framein(), g726tolin_sample(), g729_read(), gen_generate(), gsm_read(), gsmtolin_sample(), h263_read(), h263_write(), h264_read(), h264_write(), handle_link_data(), iax_frame_wrap(), ilbc_read(), jb_get_and_deliver(), linear_generator(), lintoadpcm_framein(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_framein(), lintoalaw_sample(), lintog726_framein(), lintog726_sample(), lintog726aal2_framein(), lintogsm_framein(), lintogsm_sample(), lintolpc10_framein(), lintolpc10_sample(), lintospeex_framein(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_framein(), lintoulaw_sample(), lpc10tolin_sample(), measurenoise(), milliwatt_generate(), misdn_read(), misdn_write(), moh_files_generator(), moh_generate(), nbs_xread(), ogg_vorbis_read(), ogg_vorbis_write(), oss_read(), pcm_read(), phone_exception(), phone_read(), playtones_generator(), process_rfc2833(), process_rfc3389(), queue_frame_to_spies(), receive_digit(), rpt(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), slinear_read(), sms_exec(), sms_generate(), socket_process(), speextolin_sample(), tonepair_generator(), ulawtoalaw_framein(), ulawtoalaw_sample(), ulawtolin_framein(), ulawtolin_sample(), vox_read(), wav_read(), zap_framein(), zap_frameout(), zt_handle_event(), and zt_read().

int seqno

Sequence number

Definition at line 158 of file frame.h.

Referenced by ast_frdup(), ast_frisolate(), ast_rtp_read(), ast_translate(), framein(), and udptl_rx_packet().

const char* src

int subclass

Subclass, frame dependent

Definition at line 132 of file frame.h.

Referenced by __adsi_transmit_messages(), __ast_play_and_record(), __ast_read(), __ast_request_and_dial(), __ast_smoother_feed(), __attempt_transmit(), __get_from_jb(), __oh323_update_info(), __send_command(), __zt_exception(), adpcmtolin_sample(), adsi_careful_send(), agent_ack_sleep(), agent_read(), agent_write(), alawtolin_sample(), alawtoulaw_sample(), alsa_call(), alsa_read(), app_exec(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_feature_request_and_dial(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_generic_bridge(), ast_prod(), ast_queue_control(), ast_queue_control_data(), ast_queue_frame(), ast_recvtext(), ast_rtcp_read(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_slinfactory_feed(), ast_smoother_read(), ast_trans_frameout(), ast_waitfordigit_full(), ast_write(), ast_writestream(), async_wait(), autoservice_run(), background_detect_exec(), bridge_native_loop(), bridge_p2p_loop(), cb_events(), channel_spy(), conf_exec(), conf_run(), console_dial(), console_dial_deprecated(), console_sendtext(), console_sendtext_deprecated(), create_jb(), decode_frame(), dictate_exec(), disa_exec(), do_autoanswer_thread(), do_holding_thread(), do_immediate_setup(), do_parking_thread(), echo_exec(), function_ilink(), g723_read(), g723_write(), g726_read(), g726_write(), g729_read(), g729_write(), gsm_read(), gsm_write(), gsmtolin_sample(), gtalk_handle_dtmf(), gtalk_rtp_read(), gtalk_write(), h263_read(), h263_write(), h264_read(), h264_write(), handle_frame(), handle_frame_ownerless(), handle_keypad_button_message(), handle_link_data(), handle_recordfile(), handle_request(), handle_request_info(), iax2_send(), iax2_sendimage(), iax_frame_wrap(), ilbc_read(), ilbc_write(), jb_get_and_deliver(), jpeg_read_image(), jpeg_write_image(), linear_generator(), lintoadpcm_sample(), lintoalaw_sample(), lintogsm_sample(), lintolpc10_sample(), lintospeex_sample(), lintoulaw_sample(), local_digit_begin(), local_digit_end(), local_indicate(), local_queue_frame(), local_sendhtml(), lpc10tolin_sample(), measurenoise(), mgcp_queue_control(), mgcp_rtp_read(), mgcp_write(), misdn_bridge(), misdn_read(), misdn_write(), mohalloc(), nbs_xwrite(), ogg_vorbis_read(), ogg_vorbis_write(), oh323_rtp_read(), oh323_write(), oss_call(), oss_read(), pcm_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), playtones_generator(), process_ast_dsp(), process_rfc3389(), queue_frame_to_spies(), receive_digit(), receive_dtmf_digits(), receive_message(), record_exec(), rpt(), rpt_call(), rpt_exec(), run_agi(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), sendurl_exec(), sip_rtp_read(), sip_write(), skinny_rtp_read(), skinny_write(), slinear_read(), slinear_write(), sms_generate(), socket_process(), speech_background(), speextolin_sample(), ss_thread(), tonepair_generator(), udptl_rx_packet(), ulawtoalaw_sample(), ulawtolin_sample(), vox_read(), vox_write(), wait_for_answer(), wait_for_winner(), waitforring_exec(), waitstream_core(), wav_read(), wav_write(), zap_framein(), zap_frameout(), zt_handle_dtmfup(), zt_handle_event(), zt_read(), and zt_write().

long ts


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

Generated on Sat Apr 12 07:12:57 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.5