Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_GetAtiBitsEx( )

Description | Cautions | Example | Errors | See Also

Name:

int dcb_GetAtiBitsEx(devh, numpty, ActiveTalkerInd, rfu)

Inputs:

int devh

  valid Dialogic DCB DSP device handle

 

int *numpty

  pointer to number of active talkers

 

DCB_CT *ActiveTalkerInd

  pointer to array of active talker indicators

 

void* rfu

  reserved for future use

Returns:

0 if success
-1 if failure

Includes:

srllib.h
dtilib.h
msilib.h
dcblib.h

Category:

Auxiliary

Mode:

synchronous

Top Of PageDescription

The dcb_GetAtiBitsEx( ) function returns the active talker indicators at the time the function is called. The current number of active talkers is returned in numpty, with specific information on each active talker returned in ActiveTalkerInd.

Parameter

Description

devh:

The valid DCB DSP device handle returned by a call to dcb_open( ).

numpty:

Pointer to number of active talkers.

ActiveTalkerInd:

Pointer to array of DCB_CT structure where active talker indicators are returned.

The format of the DCB_CT structure is as follows:

    typedef struct {  
              int confid;        /* conference ID number */  
              int chan_num;      /* time slot number */  
              int chan_sel;      /* time slot selector */  
    } DCB_CT;

The confid specifies the conference ID number to which the active talker belongs. The chan_num specifies the CT bus transmit timeslot number of the active talker. The chan_sel provides additional information on the channel; at present, for DM3 boards, chan_sel always returns MSPN_TS (CT Bus timeslot).

NOTES:
1. The developer must allocate and deallocate an array of DCB_CT structures large enough to store information for the maximum possible number of active talkers.
2. The snapshot of information provided by dcb_GetAtiBitsEx( ) is accurate for a split second. This information may not be accurate by the time the application processes it.

Top Of PageCautions

Top Of PageExample

Top Of PageErrors

If the function does not complete successfully, it will return -1 to indicate an error. Use the Standard Attribute functions ATDV_LASTERR( ) to obtain the applicable error value, or ATDV_ERRMSGP( ) to obtain a more descriptive error message.

Refer to the error type tables found in Chapter 2 of this guide. Error defines can be found in dtilib.h, msilib.h or dcblib.h.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002