Wed Oct 28 11:46:56 2009

Asterisk developer's documentation


chan_usbradio_pvt Struct Reference

Collaboration diagram for chan_usbradio_pvt:

Collaboration graph
[legend]

Public Types

enum  { M_UNSET, M_FULL, M_READ, 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
struct 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
struct timeval lastopen
char lastrx
char lasttx
int micmax
char mohinterpret [MAX_MUSICCLASS]
int mute
char * name
struct chan_usbradio_pvtnext
int overridecontext
struct ast_channelowner
t_pmr_chan * pmrChan
unsigned int queuesize
char radioduplex
struct 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

Definition at line 298 of file chan_usbradio.c.

Referenced by usbradio_hangup().

Definition at line 299 of file chan_usbradio.c.

Referenced by usbradio_hangup().

struct { ... } b

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

char devicenum

struct ast_dsp* dsp [read]

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().

Definition at line 402 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 403 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 409 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 404 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 405 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 406 of file chan_usbradio.c.

Referenced by hidhdwconfig().

Definition at line 407 of file chan_usbradio.c.

Referenced by hidhdwconfig().

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 [read]

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 [read]

Definition at line 290 of file chan_usbradio.c.

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

Definition at line 311 of file chan_usbradio.c.

struct ast_channel* owner [read]

t_pmr_chan* pmrChan

unsigned int queuesize

Definition at line 301 of file chan_usbradio.c.

Referenced by soundcard_writeframe(), and store_config().

Definition at line 351 of file chan_usbradio.c.

Referenced by store_config().

struct ast_frame read_f [read]

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().

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().

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().

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.

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.

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().

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

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().

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(), and usbradio_write().

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().

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

int txmixaset

char txmixb

int txmixbset

char txprelim

Definition at line 381 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

char txtestkey

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.

Referenced by usbradio_write().

char usbradio_write_buf_1[FRAME_SIZE *2 *2 *6]

Definition at line 338 of file chan_usbradio.c.

Referenced by usbradio_write().

Definition at line 340 of file chan_usbradio.c.

Referenced by usbradio_write().

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 Wed Oct 28 11:46:56 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6