Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 249
return the current speed or volume modification table — dx_getsvmt( )
dx_getsvmt( )
return the current speed or volume modification table
!
!!
! Description
The dx_getsvmt( ) function returns the current speed or volume modification table to the
DX_SVMT structure.
!
!!
! Cautions
None.
!
!!
! Errors
If the function returns -1, use the Standard Runtime Library (SRL) Standard Attribute function
ATDV_LASTERR( ) to obtain the error code or use ATDV_ERRMSGP( ) to obtain a descriptive
error message. One of the following error codes may be returned:
EDX_BADPARM
Invalid parameter
EDX_BADPROD
Function not supported on this board
Name: int dx_getsvmt(chdev, tabletype, svmtp )
Inputs: int chdev
valid channel device handle
unsigned short tabletype
type of table to retrieve (speed or volume)
DX_SVMT * svmtp
pointer to speed or volume modification table structure to retrieve
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: Speed and Volume
Mode: synchronous
Platform: DM3, Springware
Parameter Description
chdev specifies the valid channel device handle obtained when the channel was
opened using dx_open( )
tabletype specifies whether to retrieve the speed or the volume modification table:
SV_SPEEDTBL – retrieve the speed modification table values
SV_VOLUMETBL – retrieve the volume modification table values
svmtp points to the DX_SVMT structure that contains the speed and volume
modification table entries