2 m1x66_setphonevolume, 3 m1x66_callprogressmonitor, M1x66_setphonevolume – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 39: M1x66_callprogressmonitor

UG_1x66B_046
73M1866B/73M1966B FXOAPI User Guide
Rev. 2.1
39
2.14.2 M1x66_SetPhoneVolume
Description
Set the speaker phone and microphone volume. This API sets transmit and receive dB gain of the FXO
channel. Teridian FXO supports transmit gain from -26 to +12 dB, and receive gain from -24 to +10 dB.
Prototype
M1x66_RET M1x66_SetPhoneVolume (
M1x66_HANDLE chanHandle,
int txVolumedB,
int rxVolumedB );
Parameters
Data Type
Name
Description
M1x66_HANDLE
chanHandle
Channel handle obtains from open channel.
int
txVolumedB
Transmit direction in dB (-26 to +12 dB).
int
rxVolumedB
Receive direction in dB (-24 to +10 dB).
Return Values
Data Type
Description
M1x66_SUCCESS – Successfully set phone volume.
M1x66_FAILED – Failure.
2.14.3 M1x66_CallProgressMonitor
Description
For
the purpose of monitoring activities on the line, a Call Progress Monitor is provided in the 73M1x66B.
This audio output contains both transmit and receive data with configurable levels.
Prototype
M1x66_RET M1x66_CallProgressMonitor (
M1x66_HANDLE chanHandle,
M1x66_CM_VOLTAGE_REF voltRef,
M1x66_CM_GAIN txGain,
M1x66_CM_GAIN rxGain);
Parameters
Data Type
Name
Description
M1x66_HANDLE
chanHandle
Channel handle obtains from open channel.
M1x66_CM_VOLTAGE_REF voltRef
Voltage Reference selection.
M1x66_CM_GAIN
txGain
Transmit path gain setting.
M1x66_CM_GAIN
rxGain
Receive path gain setting.
Return Values
Data Type
Description
M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.