Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 129
set a DTMF digit to adjust volume — dx_addvoldig( )
dx_addvoldig( )
set a DTMF digit to adjust volume
!
!!
! Description
The dx_addvoldig( ) function is a convenience function that sets a DTMF digit to adjust volume
by a specified amount, immediately and for all subsequent plays on the specified channel (until
changed or cancelled).
This function assumes that the volume modification table has not been modified using the
dx_setsvmt( ) function.
For more information about speed and volume control as well as speed and volume modification
tables, see the Voice API Programming Guide. For information about speed and volume data
structures, see the DX_SVMT and the DX_SVCB data structures.
Name: int dx_addvoldig(chdev, digit, adjval)
Inputs: int chdev
valid channel device handle
char digit
DTMF digit
short adjval
volume adjustment value
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( )
digit specifies a DTMF digit (0-9, *, #) that will modify volume by the amount
specified in adjval