(Page 10 of 11 in this chapter) Version
typedef struct _TRAU_INFO
{
unsigned size; /* Size (determined by #chns */
CTAHD loadhd; /* Associated load handle */
unsigned type; /* Vocoder type */
unsigned max_channels; /* Max channels supported */
unsigned detached_channels; /* Number of detached chns */
unsigned frame_tic; /* tics in .25ms increments */
unsigned max_frame_size; /* Host-based:max chn frame */
/* LOAD_DONE event */
unsigned underrun_count_write; /* # of underruns down since */
/* LOAD_DONE event */
} TRAU_INFO;
{
CTAHD ctahd; /* ctahd associated with */
/* this trauchn */
TRAU_STATE state; /* State of channel defined */
/* in TRAU_STATE */
unsigned chn_underrun_count_read; /* # of underruns up since */
unsigned chn_underrun_count_write; /* # of underruns down */
/* since LOAD_DONE event */
DWORD bus; /* Bus used */
int pcm_stream_from_dsp; /* Stream used for voice PCM */
int pcm_stream_to_dsp; /* Stream used for voice PCM */
DWORD pcm_slot; /* PCM bus,stream,slot for */
/* voice data */
/* TX FUSION ONLY DATA FOLLOWS(set to 0 if HB) */
int tx_stream_from_dsp; /* Stream used for HDLC data */
/* from TX */
int tx_stream_to_dsp; /* Stream used for HDLC data */
/* to TX */
int tx_count; /* Number of bonded */
/* timeslots used */
DWORD tx_slot[ TX_MAX_SLOTS ]; /* Array of compressed */
} TRAU_CHN_INFO_DATA;
|
Field
|
Description
|
|---|---|
|
TRAU_CHN_ON_LINE
|
Channel attached and enabled.
|
|
TRAU_CHN_OFF_LINE
|
Channel attached but not enabled.
|
|
TRAU_CHN_DETACHED
|
Channel not attached.
|
(Page 10 of 11 in this chapter) Version