Previous PageTable Of Contents../index.htmlIndexNext Page

dx_getsvmt( )

Description | Cautions | Example | Errors | See Also

Name:

int dx_getsvmt(chdev,tabletype,svmtp )

Inputs:

int chdev

  valid Dialogic channel device handle

 

unsigned short tabletype

  table to retrieve (speed or volume)

 

DX_SVMT * svmtp

  pointer to DX_SVMT structure

Returns:

0 if success

 

-1 if failure

Includes:

srllib.h

 

dxxxlib.h

Category:

Speed and Volume

Top Of PageDescription

The dx_getsvmt( ) function returns the current Speed or Volume Modification Table to the DX_SVMT structure.

For more information on the Speed and Volume Modification Tables, refer to the DX_SVMT structure in the chapter on Data Structures, and see also the Voice Software Reference: Voice Features Guide.

Parameter

Description

chdev

specifies the valid channel device handle obtained by a call to 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/Volume Modification Table entries.

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_SPDVOL

  • Must Specify either SV_SPEEDTBL or SV_VOLUMETBL

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