Thu Jul 9 13:41:39 2009

Asterisk developer's documentation


chan_usbradio_pvt Struct Reference


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
struct {
   unsigned   rxcap2:1
   unsigned   rxcapraw:1
   unsigned   txcap2:1
   unsigned   txcapraw:1
b
int boost
i16 cdMethod
char cid_name [256]
char cid_num [256]
char ctx [AST_MAX_CONTEXT]
char debuglevel
char devicenum
ast_dspdsp
enum chan_usbradio_pvt:: { ... }  duplex
char ext [AST_MAX_EXTENSION]
unsigned int frags
int hdwtype
int hid_gpio_ctl
int hid_gpio_ctl_loc
int hid_gpio_loc
int hid_io_cor
int hid_io_cor_loc
int hid_io_ctcss
int hid_io_ctcss_loc
int hid_io_ptt
pthread_t hidthread
int hookstate
char invertptt
char language [MAX_LANGUAGE]
time_t lasthidtime
timeval lastopen
char lastrx
char lasttx
int micmax
char mohinterpret [MAX_MUSICCLASS]
int mute
char * name
chan_usbradio_pvtnext
int overridecontext
ast_channelowner
t_pmr_chan * pmrChan
unsigned int queuesize
char radioduplex
ast_frame read_f
int readpos
int rxboostset
char rxcarrierdetect
char rxcdtype
char rxcpusaver
float rxctcssadj
char rxctcssdecode
float rxctcssfreq
float rxctcssgain
char rxctcssrelax
char rxdemod
float rxgain
char rxhidsq
char rxkeyed
char rxkeytype
int rxmixerset
char rxsdtype
int rxsquelchadj
float rxvoiceadj
int sounddev
int spkrmax
pthread_t sthread
int stophid
int total_blocks
char txchankey
char txcpusaver
int txctcssadj
float txctcssfreq
float txctcssgain
char txkeyed
char txmixa
int txmixaset
char txmixb
int txmixbset
char txprelim
char txtestkey
char txtoctype
char usbradio_read_buf [FRAME_SIZE *(2 *12)+AST_FRIENDLY_OFFSET]
char usbradio_read_buf_8k [FRAME_SIZE *2+AST_FRIENDLY_OFFSET]
char usbradio_write_buf [FRAME_SIZE *2 *2 *6]
char usbradio_write_buf_1 [FRAME_SIZE *2 *2 *6]
int usbradio_write_dst
int w_errors
int warned

Detailed Description

Definition at line 289 of file chan_usbradio.c.


Member Enumeration Documentation

anonymous enum

Enumerator:
M_UNSET 
M_FULL 
M_READ 
M_WRITE 

Definition at line 296 of file chan_usbradio.c.


Field Documentation

int autoanswer

Definition at line 298 of file chan_usbradio.c.

Referenced by usbradio_hangup().

int autohangup

Definition at line 299 of file chan_usbradio.c.

Referenced by usbradio_hangup().

struct { ... } b

Referenced by handle_cli_radio_tune(), usbradio_read(), and usbradio_write().

int boost

Definition at line 319 of file chan_usbradio.c.

Referenced by usbradio_read().

i16 cdMethod

Definition at line 297 of file chan_usbradio.c.

char cid_name[256]

Definition at line 332 of file chan_usbradio.c.

Referenced by usbradio_new().

char cid_num[256]

Definition at line 333 of file chan_usbradio.c.

Referenced by usbradio_new().

char ctx[AST_MAX_CONTEXT]

Definition at line 330 of file chan_usbradio.c.

char debuglevel

Definition at line 350 of file chan_usbradio.c.

Referenced by handle_cli_radio_set_debug(), handle_cli_radio_set_debug_deprecated(), hidthread(), store_config(), usbradio_indicate(), and usbradio_read().

char devicenum

Definition at line 320 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), setformat(), store_config(), tune_rxinput(), tune_write(), and usbradio_new().

struct ast_dsp* dsp

Definition at line 367 of file chan_usbradio.c.

Referenced by store_config(), unload_module(), and usbradio_read().

enum { ... } duplex

Referenced by setformat().

char ext[AST_MAX_EXTENSION]

Definition at line 329 of file chan_usbradio.c.

unsigned int frags

Definition at line 302 of file chan_usbradio.c.

Referenced by setformat(), and store_config().

int hdwtype

Definition at line 401 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and store_config().

int hid_gpio_ctl

Definition at line 402 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

int hid_gpio_ctl_loc

Definition at line 403 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

int hid_gpio_loc

Definition at line 409 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

int hid_io_cor

Definition at line 404 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

int hid_io_cor_loc

Definition at line 405 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

int hid_io_ctcss

Definition at line 406 of file chan_usbradio.c.

Referenced by hidhdwconfig().

int hid_io_ctcss_loc

Definition at line 407 of file chan_usbradio.c.

Referenced by hidhdwconfig().

int hid_io_ptt

Definition at line 408 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

pthread_t hidthread

Definition at line 325 of file chan_usbradio.c.

Referenced by usbradio_call(), and usbradio_hangup().

int hookstate

Definition at line 300 of file chan_usbradio.c.

Referenced by usbradio_hangup().

char invertptt

Definition at line 386 of file chan_usbradio.c.

Referenced by hidthread(), and store_config().

char language[MAX_LANGUAGE]

Definition at line 331 of file chan_usbradio.c.

Referenced by usbradio_new().

time_t lasthidtime

Definition at line 366 of file chan_usbradio.c.

Referenced by hidthread(), usbradio_call(), and usbradio_read().

struct timeval lastopen

Definition at line 309 of file chan_usbradio.c.

Referenced by setformat(), and store_config().

char lastrx

Definition at line 353 of file chan_usbradio.c.

Referenced by usbradio_read().

char lasttx

Definition at line 361 of file chan_usbradio.c.

Referenced by hidthread().

int micmax

Definition at line 322 of file chan_usbradio.c.

Referenced by mixer_write(), store_config(), and tune_rxinput().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 334 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_indicate().

int mute

Definition at line 312 of file chan_usbradio.c.

Referenced by usbradio_read().

char* name

Definition at line 292 of file chan_usbradio.c.

Referenced by find_desc(), store_config(), and tune_write().

struct chan_usbradio_pvt* next

Definition at line 290 of file chan_usbradio.c.

Referenced by find_desc(), store_config(), and unload_module().

int overridecontext

Definition at line 311 of file chan_usbradio.c.

struct ast_channel* owner

Definition at line 328 of file chan_usbradio.c.

Referenced by setformat(), unload_module(), usbradio_fixup(), usbradio_hangup(), usbradio_new(), usbradio_read(), and usbradio_request().

t_pmr_chan* pmrChan

Definition at line 369 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), hidthread(), mult_set(), pmrdump(), set_txctcss_level(), store_config(), tune_rxctcss(), tune_rxinput(), tune_rxvoice(), tune_txoutput(), unload_module(), usbradio_read(), and usbradio_write().

unsigned int queuesize

Definition at line 301 of file chan_usbradio.c.

Referenced by soundcard_writeframe(), and store_config().

char radioduplex

Definition at line 351 of file chan_usbradio.c.

Referenced by store_config().

struct ast_frame read_f

Definition at line 347 of file chan_usbradio.c.

Referenced by usbradio_read().

int readpos

Definition at line 346 of file chan_usbradio.c.

Referenced by usbradio_read().

int rxboostset

Definition at line 394 of file chan_usbradio.c.

Referenced by mixer_write(), store_config(), tune_rxinput(), and tune_write().

unsigned rxcap2

Definition at line 415 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), and usbradio_read().

unsigned rxcapraw

Definition at line 412 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), and usbradio_read().

char rxcarrierdetect

status from pmr channel

Definition at line 355 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxcdtype

Definition at line 376 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxcdtype(), tune_rxinput(), and usbradio_read().

char rxcpusaver

Definition at line 371 of file chan_usbradio.c.

Referenced by store_config().

float rxctcssadj

Definition at line 396 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxctcssadj(), tune_rxctcss(), and tune_write().

char rxctcssdecode

status from pmr channel

Definition at line 356 of file chan_usbradio.c.

Referenced by usbradio_read().

float rxctcssfreq

Definition at line 390 of file chan_usbradio.c.

Referenced by store_config(), store_rxctcssfreq(), and usbradio_read().

float rxctcssgain

Definition at line 389 of file chan_usbradio.c.

char rxctcssrelax

Definition at line 388 of file chan_usbradio.c.

Referenced by store_config().

char rxdemod

Definition at line 374 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxdemod(), and tune_rxinput().

float rxgain

Definition at line 375 of file chan_usbradio.c.

Referenced by store_rxgain().

char rxhidsq

Definition at line 354 of file chan_usbradio.c.

Referenced by hidthread(), and usbradio_read().

char rxkeyed

indicates rx signal present

Definition at line 359 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxkeytype

Definition at line 358 of file chan_usbradio.c.

int rxmixerset

Definition at line 393 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), store_config(), tune_rxinput(), and tune_write().

char rxsdtype

Definition at line 377 of file chan_usbradio.c.

Referenced by pmrdump(), and store_rxsdtype().

int rxsquelchadj

this copy needs to be here for initialization

Definition at line 378 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), pmrdump(), store_config(), and tune_write().

float rxvoiceadj

Definition at line 395 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxvoiceadj(), tune_rxvoice(), and tune_write().

int sounddev

Definition at line 295 of file chan_usbradio.c.

Referenced by setformat(), soundcard_writeframe(), unload_module(), usbradio_new(), usbradio_read(), and used_blocks().

int spkrmax

Definition at line 321 of file chan_usbradio.c.

Referenced by mixer_write(), and store_config().

pthread_t sthread

Definition at line 324 of file chan_usbradio.c.

int stophid

Definition at line 327 of file chan_usbradio.c.

Referenced by hidthread(), and usbradio_hangup().

int total_blocks

Definition at line 294 of file chan_usbradio.c.

Referenced by used_blocks().

unsigned txcap2

Definition at line 414 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune().

unsigned txcapraw

Definition at line 413 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), and usbradio_write().

char txchankey

tx key request from upper layers

Definition at line 363 of file chan_usbradio.c.

Referenced by hidthread().

char txcpusaver

Definition at line 372 of file chan_usbradio.c.

Referenced by store_config().

int txctcssadj

Definition at line 399 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), set_txctcss_level(), store_config(), and tune_write().

float txctcssfreq

Definition at line 391 of file chan_usbradio.c.

Referenced by store_config(), and store_txctcssfreq().

float txctcssgain

Definition at line 382 of file chan_usbradio.c.

char txkeyed

Definition at line 362 of file chan_usbradio.c.

Referenced by hidthread(), usbradio_indicate(), and usbradio_write().

char txmixa

Definition at line 383 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), pmrdump(), set_txctcss_level(), store_config(), and store_txmixa().

int txmixaset

Definition at line 397 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), mixer_write(), mult_set(), pmrdump(), set_txctcss_level(), store_config(), and tune_write().

char txmixb

Definition at line 384 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), pmrdump(), set_txctcss_level(), store_config(), store_txmixa(), and store_txmixb().

int txmixbset

Definition at line 398 of file chan_usbradio.c.

Referenced by handle_cli_radio_tune(), mixer_write(), mult_set(), pmrdump(), set_txctcss_level(), store_config(), and tune_write().

char txprelim

Definition at line 381 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

char txtestkey

Definition at line 364 of file chan_usbradio.c.

Referenced by handle_cli_radio_key(), handle_cli_radio_tune(), handle_cli_radio_unkey(), hidthread(), tune_txoutput(), and usbradio_write().

char txtoctype

Definition at line 379 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), and store_txtoctype().

char usbradio_read_buf[FRAME_SIZE *(2 *12)+AST_FRIENDLY_OFFSET]

Definition at line 344 of file chan_usbradio.c.

Referenced by usbradio_read().

char usbradio_read_buf_8k[FRAME_SIZE *2+AST_FRIENDLY_OFFSET]

Definition at line 345 of file chan_usbradio.c.

Referenced by usbradio_read().

char usbradio_write_buf[FRAME_SIZE *2 *2 *6]

Definition at line 337 of file chan_usbradio.c.

char usbradio_write_buf_1[FRAME_SIZE *2 *2 *6]

Definition at line 338 of file chan_usbradio.c.

int usbradio_write_dst

Definition at line 340 of file chan_usbradio.c.

int w_errors

Definition at line 308 of file chan_usbradio.c.

Referenced by soundcard_writeframe().

int warned

Definition at line 304 of file chan_usbradio.c.

Referenced by setformat(), and used_blocks().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 9 13:41:39 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7