FreeSWITCH API Documentation
1.7.0
|
Abstract handler to a timer module. More...
#include <switch_module_interfaces.h>
Data Fields | |
int | interval |
uint32_t | flags |
unsigned int | samples |
uint32_t | samplecount |
switch_timer_interface_t * | timer_interface |
switch_memory_pool_t * | memory_pool |
void * | private_info |
switch_size_t | diff |
switch_time_t | start |
uint64_t | tick |
Abstract handler to a timer module.
Definition at line 201 of file switch_module_interfaces.h.
switch_size_t switch_timer::diff |
remaining time from last call to _check()
Definition at line 217 of file switch_module_interfaces.h.
Referenced by timer_check().
uint32_t switch_timer::flags |
flags to control behaviour
Definition at line 205 of file switch_module_interfaces.h.
int switch_timer::interval |
time interval expressed in milliseconds
Definition at line 203 of file switch_module_interfaces.h.
Referenced by read_rtp_packet(), rtp_common_read(), switch_ivr_clear_speech_cache(), timer_check(), timer_destroy(), timer_generic_sync(), timer_init(), timer_next(), timer_step(), and timer_sync().
switch_memory_pool_t* switch_timer::memory_pool |
the timer's memory pool
Definition at line 213 of file switch_module_interfaces.h.
Referenced by timer_init().
void* switch_timer::private_info |
private data for loadable modules to store information
Definition at line 215 of file switch_module_interfaces.h.
Referenced by timer_check(), timer_destroy(), timer_init(), timer_next(), timer_step(), and timer_sync().
uint32_t switch_timer::samplecount |
current sample count based on samples parameter
Definition at line 209 of file switch_module_interfaces.h.
Referenced by check_rtcp_and_ice(), do_2833(), get_next_write_ts(), rtcp_stats(), rtcp_stats_init(), rtp_common_write(), set_dtmf_delay(), switch_core_session_write_video_frame(), switch_ivr_play_file(), timer_generic_sync(), and timer_step().
unsigned int switch_timer::samples |
sample count to increment by on each cycle
Definition at line 207 of file switch_module_interfaces.h.
Referenced by timer_generic_sync(), and timer_step().
switch_time_t switch_timer::start |
Definition at line 218 of file switch_module_interfaces.h.
Referenced by timer_generic_sync(), and timer_init().
uint64_t switch_timer::tick |
Definition at line 219 of file switch_module_interfaces.h.
Referenced by timer_check(), timer_generic_sync(), timer_next(), and timer_sync().
switch_timer_interface_t* switch_timer::timer_interface |
the timer interface provided from a loadable module
Definition at line 211 of file switch_module_interfaces.h.
Referenced by switch_core_session_write_video_frame(), and switch_media_handle_destroy().