Public Types | |
enum | { M_UNSET, M_FULL, M_READ, M_WRITE } |
M_FULL | |
M_READ | |
M_UNSET | |
M_WRITE | |
Data Fields | |
int | autoanswer |
int | autohangup |
int | boost |
char | cid_name [256] |
char | cid_num [256] |
char | ctx [AST_MAX_CONTEXT] |
int | cursound |
char | device [64] |
enum chan_oss_pvt:: { ... } | duplex |
char | ext [AST_MAX_EXTENSION] |
unsigned int | frags |
int | hookstate |
char | language [MAX_LANGUAGE] |
timeval | lastopen |
char * | mixer_cmd |
char | mohinterpret [MAX_MUSICCLASS] |
int | mute |
char * | name |
chan_oss_pvt * | next |
int | nosound |
char | oss_read_buf [FRAME_SIZE *2+AST_FRIENDLY_OFFSET] |
char | oss_write_buf [FRAME_SIZE *2] |
int | oss_write_dst |
int | overridecontext |
ast_channel * | owner |
unsigned int | queuesize |
ast_frame | read_f |
int | readpos |
int | sampsent |
int | sndcmd [2] |
int | sounddev |
pthread_t | sthread |
int | total_blocks |
int | w_errors |
int | warned |
Definition at line 321 of file chan_oss.c.
anonymous enum |
int autoanswer |
Boolean: whether to answer the immediately upon calling
Definition at line 340 of file chan_oss.c.
Referenced by console_autoanswer(), console_autoanswer_deprecated(), oss_call(), oss_hangup(), and store_config().
int autohangup |
Boolean: whether to hangup the call when the remote end hangs up
Definition at line 341 of file chan_oss.c.
Referenced by oss_hangup(), and store_config().
int boost |
char cid_name[256] |
Initial CallerID name
Definition at line 371 of file chan_oss.c.
Referenced by oss_new(), and store_callerid().
char cid_num[256] |
Initial CallerID number
Definition at line 372 of file chan_oss.c.
Referenced by oss_new(), and store_callerid().
char ctx[AST_MAX_CONTEXT] |
Definition at line 369 of file chan_oss.c.
Referenced by console_dial(), console_dial_deprecated(), and store_config().
int cursound |
Definition at line 333 of file chan_oss.c.
Referenced by console_answer(), console_answer_deprecated(), console_flash(), console_flash_deprecated(), console_hangup(), console_hangup_deprecated(), oss_answer(), oss_hangup(), oss_indicate(), oss_write(), send_sound(), and sound_thread().
char device[64] |
Definition at line 363 of file chan_oss.c.
Referenced by oss_new(), setformat(), and store_config().
enum { ... } duplex |
Referenced by setformat().
char ext[AST_MAX_EXTENSION] |
Definition at line 368 of file chan_oss.c.
Referenced by console_dial(), console_dial_deprecated(), and store_config().
unsigned int frags |
int hookstate |
Boolean: 1 if offhook; 0 if onhook
Definition at line 342 of file chan_oss.c.
Referenced by console_answer(), console_answer_deprecated(), console_dial(), console_dial_deprecated(), console_flash(), console_flash_deprecated(), console_hangup(), console_hangup_deprecated(), oss_answer(), oss_call(), and oss_hangup().
char language[MAX_LANGUAGE] |
struct timeval lastopen |
char* mixer_cmd |
char mohinterpret[MAX_MUSICCLASS] |
int mute |
char* name |
Definition at line 324 of file chan_oss.c.
Referenced by console_active(), console_active_deprecated(), find_desc(), and store_config().
struct chan_oss_pvt* next |
Definition at line 322 of file chan_oss.c.
Referenced by console_active(), console_active_deprecated(), find_desc(), and unload_module().
int nosound |
Definition at line 335 of file chan_oss.c.
Referenced by console_answer(), console_answer_deprecated(), console_flash(), console_flash_deprecated(), console_hangup(), console_hangup_deprecated(), oss_answer(), oss_hangup(), oss_indicate(), oss_write(), send_sound(), and sound_thread().
char oss_read_buf[FRAME_SIZE *2+AST_FRIENDLY_OFFSET] |
char oss_write_buf[FRAME_SIZE *2] |
int oss_write_dst |
int overridecontext |
struct ast_channel* owner |
Definition at line 367 of file chan_oss.c.
Referenced by console_answer(), console_answer_deprecated(), console_dial(), console_dial_deprecated(), console_flash(), console_flash_deprecated(), console_hangup(), console_hangup_deprecated(), console_sendtext(), console_sendtext_deprecated(), console_transfer(), console_transfer_deprecated(), oss_fixup(), oss_hangup(), oss_new(), oss_request(), setformat(), sound_thread(), and unload_module().
unsigned int queuesize |
Definition at line 344 of file chan_oss.c.
Referenced by soundcard_writeframe(), and store_config().
int readpos |
int sampsent |
int sndcmd[2] |
Definition at line 332 of file chan_oss.c.
Referenced by ring(), sound_thread(), and unload_module().
int sounddev |
Definition at line 338 of file chan_oss.c.
Referenced by oss_new(), oss_read(), setformat(), sound_thread(), soundcard_writeframe(), unload_module(), and used_blocks().
pthread_t sthread |
int total_blocks |
int w_errors |
int warned |