CTI32 Class Library

cti.ConfSetVolume Method 

Vendetta specific. Sets the speakers transmit or receive volume to a specified level.

[Visual Basic]
Public Shared Function ConfSetVolume( _
   ByVal vnddev As Integer, _
   ByVal tx As Integer, _
   ByVal dev As Integer, _
   ByVal level As Integer _
) As Integer
[C#]
public static int ConfSetVolume(
   int vnddev,
   int tx,
   int dev,
   int level
);

Parameters

vnddev
Vendetta board device handle returned fro CTIOpenDCB
tx
1 for transmit volume, 0 for receive volume.
dev
The device returned from one of the CTIOpen calls
level
-80 to +12db

Return Value

0=successful non-zero if failure

See Also

cti Class | CTI32NetLib Namespace