Mon Mar 31 07:42:59 2008

Asterisk developer's documentation


ast_audiohook Struct Reference

#include <audiohook.h>

Collaboration diagram for ast_audiohook:

Collaboration graph
[legend]

Public Member Functions

 AST_LIST_ENTRY (ast_audiohook) list

Data Fields

unsigned int flags
int format
ast_mutex_t lock
ast_audiohook_manipulate_callback manipulate_callback
ast_audiohook_options options
ast_slinfactory read_factory
timeval read_time
const char * source
enum ast_audiohook_status status
ast_trans_pvttrans_pvt
ast_cond_t trigger
enum ast_audiohook_type type
ast_slinfactory write_factory
timeval write_time

Detailed Description

Definition at line 77 of file audiohook.h.


Member Function Documentation

AST_LIST_ENTRY ( ast_audiohook   ) 

Linked list information


Field Documentation

unsigned int flags

Flags on the audiohook

Definition at line 83 of file audiohook.h.

int format

Format translation path is setup as

Definition at line 88 of file audiohook.h.

ast_mutex_t lock

Lock that protects the audiohook structure

Definition at line 78 of file audiohook.h.

Referenced by ast_audiohook_destroy(), and ast_audiohook_trigger_wait().

ast_audiohook_manipulate_callback manipulate_callback

Manipulation callback

Definition at line 90 of file audiohook.h.

Referenced by ast_audiohook_detach_list(), audio_audiohook_write_list(), and dtmf_audiohook_write_list().

struct ast_audiohook_options options

Applicable options

Definition at line 91 of file audiohook.h.

Referenced by audiohook_read_frame_both(), and audiohook_read_frame_single().

struct ast_slinfactory read_factory

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

Definition at line 84 of file audiohook.h.

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

struct timeval read_time

Last time read factory was fed

Definition at line 86 of file audiohook.h.

Referenced by ast_audiohook_write_frame().

const char* source

Who this audiohook ultimately belongs to

Definition at line 82 of file audiohook.h.

Referenced by find_audiohook_by_source().

enum ast_audiohook_status status

Status of the audiohook

Definition at line 81 of file audiohook.h.

Referenced by ast_audiohook_attach(), ast_audiohook_detach(), ast_audiohook_detach_list(), ast_audiohook_detach_source(), audio_audiohook_write_list(), dtmf_audiohook_write_list(), mixmonitor_thread(), and spy_generate().

struct ast_trans_pvt* trans_pvt

Translation path for reading frames

Definition at line 89 of file audiohook.h.

Referenced by ast_audiohook_destroy().

ast_cond_t trigger

Trigger condition (if enabled)

Definition at line 79 of file audiohook.h.

Referenced by ast_audiohook_destroy(), ast_audiohook_detach_list(), ast_audiohook_trigger_wait(), ast_audiohook_write_frame(), and audio_audiohook_write_list().

enum ast_audiohook_type type

Type of audiohook

Definition at line 80 of file audiohook.h.

Referenced by ast_audiohook_attach(), and ast_audiohook_destroy().

struct ast_slinfactory write_factory

Factory where frames written to the channel will go through

Definition at line 85 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

Last time write factory was fed

Definition at line 87 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 Mon Mar 31 07:42:59 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1