The SetDtmfGeneratorAmplitude API procedure is used to set the amplitude (volume) of generated DTMF data blocks. For most cases, application software can allow the DTMF generator to use its default amplitude.

Namespace:  LanScape
Assembly:  LMEVoipManaged (in LMEVoipManaged.dll) Version: 6.0.5226.26700

Syntax

C#
public bool SetDtmfGeneratorAmplitude(
	int Amplitude
)
Visual Basic (Declaration)
Public Function SetDtmfGeneratorAmplitude ( _
	Amplitude As Integer _
) As Boolean
Visual C++
public:
bool SetDtmfGeneratorAmplitude(
	int Amplitude
)
J#
public boolean SetDtmfGeneratorAmplitude(
	int Amplitude
)

Parameters

Amplitude
Type: System..::.Int32
The DTMF amplitude (volume) to specify. It can be in the range of 0 to MAX_DTMF_AMPLITUDE.

Return Value

If the function succeeds, the return value will be non zero.

If the function fails, the return value will be zero. This will occur if the value specified for the "Amplitude" parameter is larger than MAX_DTMF_AMPLITUDE.

Remarks

None.

See Also