![]() |
Home page |
Mailing list |
Docs
Asterisk developer's documentation :: Codename Pineapple
chan_oss_pvt Struct Reference
Collaboration diagram for chan_oss_pvt:
There is one used for 'default' values (from the [general] entry in the configuration file), and then one instance for each device (the default is cloned from [general], others are only created if the relevant section exists).
Definition at line 322 of file chan_oss.c.
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] |
| 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 340 of file chan_oss.c.
|
|
|
Definition at line 341 of file chan_oss.c. Referenced by console_autoanswer(), oss_call(), oss_hangup(), and store_config(). |
|
|
Definition at line 342 of file chan_oss.c. Referenced by oss_hangup(), and store_config(). |
|
|
input boost, scaled by BOOST_SCALE Definition at line 363 of file chan_oss.c. Referenced by do_boost(), oss_read(), and store_boost(). |
|
|
Definition at line 372 of file chan_oss.c. Referenced by oss_new(), and store_callerid(). |
|
|
Definition at line 373 of file chan_oss.c. Referenced by oss_new(), and store_callerid(). |
|
|
Definition at line 370 of file chan_oss.c. Referenced by store_config(). |
|
|
index of sound to send Definition at line 334 of file chan_oss.c. Referenced by console_answer(), console_flash(), console_hangup(), oss_answer(), oss_hangup(), oss_indicate(), oss_write(), send_sound(), and sound_thread(). |
|
|
device to open Definition at line 364 of file chan_oss.c. Referenced by oss_new(), setformat(), and store_config(). |
|
|
Referenced by setformat(). |
|
|
Definition at line 369 of file chan_oss.c. Referenced by store_config(). |
|
|
parameter for SETFRAGMENT Definition at line 346 of file chan_oss.c. Referenced by setformat(), and store_config(). |
|
|
Definition at line 343 of file chan_oss.c. Referenced by console_answer(), console_flash(), console_hangup(), and oss_hangup(). |
|
|
Definition at line 371 of file chan_oss.c. Referenced by oss_new(), and store_config(). |
|
|
Definition at line 353 of file chan_oss.c. Referenced by setformat(), and store_config(). |
|
|
initial command to issue to the mixer Definition at line 344 of file chan_oss.c. |
|
|
Definition at line 374 of file chan_oss.c. Referenced by oss_indicate(), and store_config(). |
|
|
Definition at line 356 of file chan_oss.c. Referenced by console_mute(), and oss_read(). |
|
|
Definition at line 325 of file chan_oss.c. Referenced by console_active(), find_desc(), and store_config(). |
|
|
Definition at line 323 of file chan_oss.c. Referenced by console_active(), find_desc(), and unload_module(). |
|
|
set to block audio from the PBX Definition at line 336 of file chan_oss.c. Referenced by console_answer(), console_flash(), console_hangup(), oss_answer(), oss_hangup(), oss_indicate(), and oss_write(). |
|
|
buffers used in oss_read - AST_FRIENDLY_OFFSET space for headers plus enough room for a full frame Definition at line 382 of file chan_oss.c. Referenced by oss_read(). |
|
|
buffers used in oss_write Definition at line 377 of file chan_oss.c. Referenced by oss_write(). |
|
|
Definition at line 378 of file chan_oss.c. Referenced by oss_write(). |
|
|
Definition at line 355 of file chan_oss.c. Referenced by ast_ext_ctx(), and store_config(). |
|
|
Definition at line 368 of file chan_oss.c. Referenced by console_answer(), console_dial(), console_flash(), console_hangup(), console_sendtext(), console_transfer(), oss_fixup(), oss_hangup(), oss_new(), oss_request(), setformat(), sound_thread(), and unload_module(). |
|
|
max fragments in queue Definition at line 345 of file chan_oss.c. Referenced by soundcard_writeframe(), and store_config(). |
|
|
returned by oss_read Definition at line 384 of file chan_oss.c. Referenced by oss_read(). |
|
|
read position above Definition at line 383 of file chan_oss.c. Referenced by oss_read(). |
|
|
# of sound samples sent Definition at line 335 of file chan_oss.c. Referenced by send_sound(). |
|
|
cursound indicates which in struct sound we play. -1 means nothing, any other value is a valid sound, in which case sampsent indicates the next sample to send in [0..samplen + silencelen] nosound is set to disable the audio data from the channel (so we can play the tones etc.). Sound command pipe Definition at line 333 of file chan_oss.c. Referenced by ring(), sound_thread(), and unload_module(). |
|
|
Definition at line 339 of file chan_oss.c. Referenced by oss_new(), oss_read(), setformat(), sound_thread(), soundcard_writeframe(), unload_module(), and used_blocks(). |
|
|
Definition at line 366 of file chan_oss.c. |
|
|
total blocks in the output device Definition at line 338 of file chan_oss.c. Referenced by used_blocks(). |
|
|
overfull in the write path Definition at line 352 of file chan_oss.c. Referenced by soundcard_writeframe(). |
|
|
various flags used for warnings Definition at line 348 of file chan_oss.c. Referenced by setformat(), and used_blocks(). |