RTS API Documentation
1.10.11
|
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 |
uint32_t | last_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 210 of file switch_module_interfaces.h.
switch_size_t switch_timer::diff |
remaining time from last call to _check()
Definition at line 227 of file switch_module_interfaces.h.
Referenced by timer_check(), and timer_generic_sync().
uint32_t switch_timer::flags |
flags to control behaviour
Definition at line 214 of file switch_module_interfaces.h.
int switch_timer::interval |
time interval expressed in milliseconds
Definition at line 212 of file switch_module_interfaces.h.
Referenced by read_rtp_packet(), rtp_common_read(), switch_core_timer_init(), switch_ivr_clear_speech_cache(), timer_check(), timer_destroy(), timer_generic_sync(), timer_init(), timer_next(), timer_step(), and timer_sync().
uint32_t switch_timer::last_samplecount |
Definition at line 219 of file switch_module_interfaces.h.
Referenced by timer_generic_sync().
switch_memory_pool_t* switch_timer::memory_pool |
the timer's memory pool
Definition at line 223 of file switch_module_interfaces.h.
Referenced by switch_core_timer_destroy(), switch_core_timer_init(), timer_generic_sync(), and timer_init().
void* switch_timer::private_info |
private data for loadable modules to store information
Definition at line 225 of file switch_module_interfaces.h.
Referenced by timer_check(), timer_destroy(), timer_generic_sync(), timer_init(), timer_next(), timer_step(), and timer_sync().
uint32_t switch_timer::samplecount |
current sample count based on samples parameter
Definition at line 218 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_text_frame(), switch_core_session_write_video_frame(), switch_core_timer_init(), switch_ivr_play_file(), switch_ivr_speak_text_handle(), timer_generic_sync(), timer_step(), and video_write_thread().
unsigned int switch_timer::samples |
sample count to increment by on each cycle
Definition at line 216 of file switch_module_interfaces.h.
Referenced by switch_core_timer_init(), timer_generic_sync(), and timer_step().
switch_time_t switch_timer::start |
Definition at line 228 of file switch_module_interfaces.h.
Referenced by timer_generic_sync(), and timer_init().
uint64_t switch_timer::tick |
Definition at line 229 of file switch_module_interfaces.h.
Referenced by switch_rtp_create(), 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 221 of file switch_module_interfaces.h.
Referenced by do_2833(), switch_core_session_write_video_frame(), switch_core_timer_check(), switch_core_timer_destroy(), switch_core_timer_init(), switch_core_timer_next(), switch_core_timer_step(), switch_core_timer_sync(), switch_media_handle_destroy(), switch_rtp_change_interval(), switch_rtp_get_media_timer(), and switch_rtp_udptl_mode().