Intel 05-1832-002 User Manual
![Intel](https://files.manualsbrain.com/attachments/5a71b1e7f60391972dadeef20435931cbf4621a5/common/fit/150/50/86c99b5f14aeb2708e9a9e1b5305af4ccf882c1af0155dad25413c2ed84e/brand_logo.png)
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
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:
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
-1 if failure
Includes:
srllib.h
dxxxlib.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
opened using
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
structure that contains the speed and volume
modification table entries