Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 525
feature information — FEATURE_TABLE
FEATURE_TABLE
feature information
typedef struct feature_table {
unsigned short ft_play;
unsigned short ft_record;
unsigned short ft_tone;
unsigned short ft_e2p_brd_cfg;
unsigned short ft_fax;
unsigned short ft_front_end;
unsigned short ft_misc;
unsigned short ft_send;
unsigned short ft_receive;
unsigned int ft_play_ext;
unsigned int ft_record_ext;
unsigned short ft_device;
unsigned short ft_rfu[8];
} FEATURE_TABLE;
!
!!
! Description
The FEATURE_TABLE data structure provides information about the features supported on a
device. This structure is used by the dx_getfeaturelist( ) function. On return from the function, the
FEATURE_TABLE structure contains the relevant information for the device.
Features reported by each member of the FEATURE_TABLE structure are defined in dxxxlib.h. To
determine what features are enabled on a device, “bitwise AND” the returned bitmask with the
defines (see the example code for dx_getfeaturelist( )).
!
!!
! Field Descriptions
The fields of the FEATURE_TABLE data structure are described as follows:
ft_play
Contains a bitmask of the play features supported on the specified device.
FT_ADPCM – supports ADPCM encoding
FT_ADSI – supports Analog Display Services Interface (ADSI)
FT_ALAW – supports A-law encoding
FT_DRT6KHZ – supports 6 kHz sampling rate
FT_DRT8KHZ – supports 8 kHz sampling rate
FT_DRT11KHZ – supports 11 kHz sampling rate
FT_FFT –
FT_FSK_OH –
FT_G729A – supports G.729a encoding
FT_ITU_G_726 – supports ITU-T G.726 encoding
FT_LINEAR – supports linear PCM encoding
FT_MSGSM – supports Microsoft GSM encoding
FT_PCM – supports PCM encoding
FT_RAW64BIT – supports raw 64 bit
FT_RESRVD1 – reserved
FT_RESRVD2 – reserved
FT_ULAW – supports mu-law encoding
ft_record
Contains a bitmask of the record features supported on the specified device.