Data Fields | |
int | allowed_files |
char | args [256] |
unsigned int | delete:1 |
char | digit |
char | dir [256] |
char ** | filearray |
unsigned int | flags |
int | format |
struct { | |
mohclass * next | |
} | list |
struct { | |
mohdata * first | |
mohdata * last | |
} | members |
char | mode [80] |
char | name [MAX_MUSICCLASS] |
int | pid |
int | pseudofd |
int | realtime |
int | srcfd |
time_t | start |
pthread_t | thread |
int | total_files |
Definition at line 142 of file res_musiconhold.c.
int allowed_files |
The current size of the filearray
Definition at line 151 of file res_musiconhold.c.
Referenced by moh_add_file().
char args[256] |
Definition at line 145 of file res_musiconhold.c.
Referenced by init_files_class(), local_ast_moh_start(), moh_diff(), and spawn_mp3().
unsigned int delete |
char digit |
Definition at line 147 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), and moh_digit_match().
char dir[256] |
Definition at line 144 of file res_musiconhold.c.
Referenced by init_files_class(), local_ast_moh_start(), moh_diff(), moh_scan_files(), and spawn_mp3().
char** filearray |
A dynamically sized array to hold the list of filenames in "files" mode
Definition at line 149 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), moh_add_file(), and moh_scan_files().
Definition at line 168 of file res_musiconhold.c.
unsigned int flags |
int format |
The format from the MOH source, not applicable to "files" mode
Definition at line 156 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), moh_alloc(), moh_class_malloc(), and mohalloc().
Definition at line 168 of file res_musiconhold.c.
struct { ... } list |
Referenced by monmp3thread().
struct { ... } members |
Referenced by mohalloc().
char mode[80] |
Definition at line 146 of file res_musiconhold.c.
Referenced by init_app_class(), local_ast_moh_start(), and moh_diff().
char name[MAX_MUSICCLASS] |
Definition at line 143 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), get_mohbyname(), init_files_class(), local_ast_moh_start(), and moh_alloc().
Definition at line 169 of file res_musiconhold.c.
int pid |
The pid of the external application delivering MOH
Definition at line 158 of file res_musiconhold.c.
Referenced by spawn_mp3().
int pseudofd |
FD for timing source
Definition at line 164 of file res_musiconhold.c.
Referenced by init_app_class(), and local_ast_moh_start().
int realtime |
Created on the fly, from RT engine
Definition at line 166 of file res_musiconhold.c.
Referenced by local_ast_moh_start().
int srcfd |
Source of audio
Definition at line 162 of file res_musiconhold.c.
Referenced by local_ast_moh_start().
time_t start |
Definition at line 159 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), and spawn_mp3().
pthread_t thread |
Definition at line 160 of file res_musiconhold.c.
Referenced by init_app_class(), and local_ast_moh_start().
int total_files |
The current number of files loaded into the filearray
Definition at line 153 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), moh_add_file(), and moh_scan_files().