ast_audiohook Struct Reference

#include <audiohook.h>

Collaboration diagram for ast_audiohook:

Collaboration graph
[legend]

Data Fields

unsigned int flags
struct ast_formatformat
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_pvttrans_pvt
ast_cond_t trigger
enum ast_audiohook_type type
struct ast_slinfactory write_factory
struct timeval write_time

Detailed Description

Definition at line 100 of file audiohook.h.


Field Documentation

unsigned int flags

Flags on the audiohook

Definition at line 107 of file audiohook.h.

struct ast_format* format [read]

Format translation path is setup as

Definition at line 112 of file audiohook.h.

Referenced by ast_audiohook_destroy(), and audiohook_read_frame_helper().

internal read/write sample rate on the audiohook.

Definition at line 116 of file audiohook.h.

Referenced by ast_audiohook_write_frame(), audiohook_read_frame_both(), audiohook_read_frame_helper(), and audiohook_read_frame_single().

Init flags

Definition at line 105 of file audiohook.h.

Referenced by ast_audiohook_init(), and audiohook_list_set_samplerate_compatibility().

struct { ... } list

Lock that protects the audiohook structure

Definition at line 101 of file audiohook.h.

Referenced by ast_audiohook_destroy(), ast_audiohook_init(), and ast_audiohook_trigger_wait().

struct ast_audiohook* next [read]

Definition at line 117 of file audiohook.h.

Applicable options

Definition at line 115 of file audiohook.h.

Referenced by audiohook_read_frame_both(), audiohook_read_frame_single(), channel_spy(), and launch_monitor_thread().

Factory where frames read from the channel, or read from the whisper source will go through

Definition at line 108 of file audiohook.h.

Referenced by ast_audiohook_destroy(), ast_audiohook_write_frame(), audio_audiohook_write_list(), audiohook_read_frame_both(), and audiohook_read_frame_single().

struct timeval read_time [read]

Last time read factory was fed

Definition at line 110 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 106 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().

struct ast_trans_pvt* trans_pvt [read]

Translation path for reading frames

Definition at line 113 of file audiohook.h.

Referenced by ast_audiohook_destroy(), and audiohook_read_frame_helper().

Type of audiohook

Definition at line 103 of file audiohook.h.

Referenced by ast_audiohook_attach(), ast_audiohook_destroy(), ast_audiohook_init(), and ast_audiohook_remove().

Factory where frames written to the channel will go through

Definition at line 109 of file audiohook.h.

Referenced by ast_audiohook_destroy(), ast_audiohook_write_frame(), audio_audiohook_write_list(), audiohook_read_frame_both(), and audiohook_read_frame_single().

struct timeval write_time [read]

Last time write factory was fed

Definition at line 111 of file audiohook.h.

Referenced by ast_audiohook_write_frame(), and audiohook_read_frame_both().


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

Generated on Thu Apr 16 06:34:59 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6