Previous PageTable Of Contents../index.htmlIndexNext Page

dx_clrsvcond( )

Description | Cautions | Example | Errors | See Also

Name:

int dx_clrsvcond(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

0 if success

 

-1 if failure

Includes:

srllib.h
dxxxlib.h

Category:

Speed and Volume

Top Of PageDescription

The dx_clrsvcond( ) function clears all speed or volume adjustment conditions that have been previously set with the dx_setsvcond( ) function or the convenience functions dx_addspddig( ) or dx_addvoldig( ).

Each time you want to reset a single adjustment condition, you must reset all adjustment conditions, by first clearing them using this function, and then resetting the conditions using dx_setsvcond( ), dx_addspddig( ) or dx_addvoldig( ).

Parameter

Description

chdev

specifies the valid channel device handle obtained when the channel was opened using dx_open( ).

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

If this function returns -1 to indicate failure, use ATDV_LASTERR( ) and ATDV_ERRMSGP( ) to retrieve one of the following error reasons:

EDX_BADPARM

  • Invalid Parameter

EDX_BADPROD

  • Function not supported on this board

EDX_SYSTEM

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

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