Thu Oct 8 21:58:00 2009

Asterisk developer's documentation


chan_oss_pvt Struct Reference

Collaboration diagram for chan_oss_pvt:

Collaboration graph
[legend]

Public Types

enum  { M_UNSET, M_FULL, M_READ, 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]
struct timeval lastopen
char * mixer_cmd
char mohinterpret [MAX_MUSICCLASS]
int mute
char * name
struct chan_oss_pvtnext
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
struct ast_channelowner
unsigned int queuesize
struct ast_frame read_f
int readpos
int sampsent
int sndcmd [2]
int sounddev
pthread_t sthread
int total_blocks
int w_errors
int warned

Detailed Description

Definition at line 320 of file chan_oss.c.


Member Enumeration Documentation

anonymous enum

Enumerator:
M_UNSET 
M_FULL 
M_READ 
M_WRITE 

Definition at line 338 of file chan_oss.c.


Field Documentation

Definition at line 340 of file chan_oss.c.

Referenced by oss_hangup(), and store_config().

int boost

Definition at line 361 of file chan_oss.c.

Referenced by do_boost(), oss_read(), and store_boost().

char cid_name[256]

Definition at line 370 of file chan_oss.c.

Referenced by oss_new(), and store_callerid().

char cid_num[256]

Definition at line 371 of file chan_oss.c.

Referenced by oss_new(), and store_callerid().

char ctx[AST_MAX_CONTEXT]

Definition at line 368 of file chan_oss.c.

Referenced by console_dial(), console_dial_deprecated(), and store_config().

int cursound

char device[64]

Definition at line 362 of file chan_oss.c.

Referenced by oss_new(), setformat(), and store_config().

enum { ... } duplex

Referenced by setformat(), and store_config().

char ext[AST_MAX_EXTENSION]

Definition at line 367 of file chan_oss.c.

Referenced by console_dial(), console_dial_deprecated(), and store_config().

unsigned int frags

Definition at line 344 of file chan_oss.c.

Referenced by setformat(), and store_config().

int hookstate

char language[MAX_LANGUAGE]

Definition at line 369 of file chan_oss.c.

Referenced by oss_new(), and store_config().

struct timeval lastopen [read]

Definition at line 351 of file chan_oss.c.

Referenced by setformat(), and store_config().

char* mixer_cmd

Definition at line 342 of file chan_oss.c.

Referenced by store_config(), and store_mixer().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 372 of file chan_oss.c.

Referenced by oss_indicate(), and store_config().

int mute

Definition at line 354 of file chan_oss.c.

Referenced by __console_mute_unmute(), and oss_read().

char* name

Definition at line 323 of file chan_oss.c.

Referenced by console_active(), console_active_deprecated(), find_desc(), and store_config().

struct chan_oss_pvt* next [read]

int nosound

char oss_read_buf[FRAME_SIZE *2+AST_FRIENDLY_OFFSET]

Definition at line 380 of file chan_oss.c.

Referenced by oss_read().

char oss_write_buf[FRAME_SIZE *2]

Definition at line 375 of file chan_oss.c.

Referenced by oss_write().

Definition at line 376 of file chan_oss.c.

Referenced by oss_write().

Definition at line 353 of file chan_oss.c.

Referenced by ast_ext_ctx(), and store_config().

struct ast_channel* owner [read]

unsigned int queuesize

Definition at line 343 of file chan_oss.c.

Referenced by soundcard_writeframe(), and store_config().

struct ast_frame read_f [read]

Definition at line 382 of file chan_oss.c.

Referenced by oss_read().

int readpos

Definition at line 381 of file chan_oss.c.

Referenced by oss_read().

int sampsent

Definition at line 333 of file chan_oss.c.

Referenced by send_sound(), and sound_thread().

int sndcmd[2]

Definition at line 331 of file chan_oss.c.

Referenced by ring(), sound_thread(), store_config(), and unload_module().

int sounddev

pthread_t sthread

Definition at line 364 of file chan_oss.c.

Referenced by store_config().

Definition at line 336 of file chan_oss.c.

Referenced by used_blocks().

int w_errors

Definition at line 350 of file chan_oss.c.

Referenced by soundcard_writeframe().

int warned

Definition at line 346 of file chan_oss.c.

Referenced by setformat(), and used_blocks().


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

Generated on Thu Oct 8 21:58:00 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.8