Asterisk - The Open Source Telephony Project
18.5.0
|
#include <audiohook.h>
Data Fields | |
unsigned int | flags |
struct ast_format * | format |
unsigned int | hook_internal_samp_rate |
enum ast_audiohook_init_flags | init_flags |
struct { | |
struct ast_audiohook * next | |
} | list |
ast_mutex_t | lock |
ast_audiohook_manipulate_callback | manipulate_callback |
struct ast_audiohook_options | options |
struct ast_slinfactory | read_factory |
struct timeval | read_time |
const char * | source |
enum ast_audiohook_status | status |
struct ast_trans_pvt * | trans_pvt |
ast_cond_t | trigger |
enum ast_audiohook_type | type |
struct ast_slinfactory | write_factory |
struct timeval | write_time |
Definition at line 103 of file audiohook.h.
unsigned int flags |
Flags on the audiohook
Definition at line 110 of file audiohook.h.
struct ast_format* format |
Format translation path is setup as
Definition at line 115 of file audiohook.h.
Referenced by ast_audiohook_destroy(), and audiohook_read_frame_helper().
unsigned int hook_internal_samp_rate |
internal read/write sample rate on the audiohook.
Definition at line 119 of file audiohook.h.
Referenced by ast_audiohook_write_frame(), audiohook_list_set_hook_rate(), audiohook_read_frame_both(), audiohook_read_frame_helper(), audiohook_read_frame_single(), and audiohook_set_internal_rate().
enum ast_audiohook_init_flags init_flags |
Init flags
Definition at line 108 of file audiohook.h.
Referenced by ast_audiohook_init(), and audiohook_list_set_samplerate_compatibility().
struct { ... } list |
Linked list information
Referenced by ast_audiohook_detach_list(), ast_audiohook_remove(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), audio_audiohook_write_list(), audiohook_list_set_samplerate_compatibility(), dtmf_audiohook_write_list(), and find_audiohook_by_source().
ast_mutex_t lock |
Lock that protects the audiohook structure
Definition at line 104 of file audiohook.h.
Referenced by ast_audiohook_destroy(), ast_audiohook_init(), and ast_audiohook_trigger_wait().
ast_audiohook_manipulate_callback manipulate_callback |
Manipulation callback
Definition at line 117 of file audiohook.h.
Referenced by ast_audiohook_detach_list(), audio_audiohook_write_list(), audiohook_volume_get(), detect_write(), dtmf_audiohook_write_list(), enable_jack_hook(), hook_state_alloc(), pitchshift_helper(), scramble_write(), set_talk_detect(), speex_write(), and volume_write().
struct ast_audiohook* next |
Definition at line 120 of file audiohook.h.
struct ast_audiohook_options options |
Applicable options
Definition at line 118 of file audiohook.h.
Referenced by audiohook_read_frame_both(), audiohook_read_frame_single(), channel_spy(), and launch_monitor_thread().
struct ast_slinfactory read_factory |
Factory where frames read from the channel, or read from the whisper source will go through
Definition at line 111 of file audiohook.h.
Referenced by ast_audiohook_destroy(), ast_audiohook_write_frame(), audio_audiohook_write_list(), audiohook_read_frame_both(), audiohook_read_frame_single(), and audiohook_set_internal_rate().
struct timeval read_time |
Last time read factory was fed
Definition at line 113 of file audiohook.h.
Referenced by ast_audiohook_write_frame(), and audiohook_read_frame_both().
const char* source |
Who this audiohook ultimately belongs to
Definition at line 109 of file audiohook.h.
Referenced by ast_audiohook_init(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), and find_audiohook_by_source().
enum ast_audiohook_status status |
Status of the audiohook
Definition at line 107 of file audiohook.h.
Referenced by ast_audiohook_detach(), ast_audiohook_detach_source(), ast_audiohook_update_status(), ast_channel_audiohook_count_by_source_running(), audio_audiohook_write_list(), audiohook_move(), audiohook_volume_callback(), channel_spy(), detect_callback(), dtmf_audiohook_write_list(), hook_callback(), jack_hook_callback(), mixmonitor_thread(), pitchshift_cb(), scramble_callback(), snoop_read(), speex_callback(), spy_generate(), stop_mixmonitor_full(), talk_detect_audiohook_cb(), and volume_callback().
struct ast_trans_pvt* trans_pvt |
Translation path for reading frames
Definition at line 116 of file audiohook.h.
Referenced by ast_audiohook_destroy(), and audiohook_read_frame_helper().
ast_cond_t trigger |
Trigger condition (if enabled)
Definition at line 105 of file audiohook.h.
Referenced by ast_audiohook_destroy(), ast_audiohook_init(), ast_audiohook_trigger_wait(), ast_audiohook_update_status(), ast_audiohook_write_frame(), and stop_mixmonitor_full().
enum ast_audiohook_type type |
Type of audiohook
Definition at line 106 of file audiohook.h.
Referenced by ast_audiohook_attach(), ast_audiohook_destroy(), ast_audiohook_init(), ast_audiohook_remove(), audiohook_set_internal_rate(), and Property::load().
struct ast_slinfactory write_factory |
Factory where frames written to the channel will go through
Definition at line 112 of file audiohook.h.
Referenced by ast_audiohook_destroy(), ast_audiohook_write_frame(), audio_audiohook_write_list(), audiohook_read_frame_both(), audiohook_read_frame_single(), and audiohook_set_internal_rate().
struct timeval write_time |
Last time write factory was fed
Definition at line 114 of file audiohook.h.
Referenced by ast_audiohook_write_frame(), and audiohook_read_frame_both().