Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 175
clear all speed or volume adjustment conditions — dx_clrsvcond( )
dx_clrsvcond( )
clear all speed or volume adjustment conditions
!
!!
! Description
The dx_clrsvcond( ) function clears all speed or volume adjustment conditions that have been
previously set using dx_setsvcond( ) or the convenience functions dx_addspddig( ) and
dx_addvoldig( ).
Before resetting an adjustment condition, you must first clear all current conditions by using this
function, and then reset conditions using dx_setsvcond( ), dx_addspddig( ), or dx_addvoldig( ).
!
!!
! 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
EDX_SYSTEM
Error from operating system; use dx_fileerrno( ) to obtain error value
Name: int dx_clrsvcond(chdev)
Inputs: int chdev
valid channel device handle
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( )