14 m1x22_setphonevolume, 15 m1x22_callprogressmonitor, M1x22_setphonevolume – Maxim Integrated 73M1822/73M1922 Modem API User Manual
Page 15: M1x22_callprogressmonitor

UG_1x22_055
73M1822/73M1922 Modem API User Guide
Rev. 1.0
15
2.14 M1X22_SetPhoneVolume
Description
Set the speaker phone and microphone volume. This API sets transmit and receive dB gain of the
channel.
Prototype
M1X22_RET M1X22_SetPhoneVolume (
M1X22_HANDLE chanHandle,
int txVolumedB,
int rxVolumedB );
Parameters
Data Type
Name
Description
M1X22_HANDLE
chanHandle
Channel handle obtains from open channel.
int
txVolumedB
Transmit direction in dB.
int
rxVolumedB
Receive direction in dB.
Return Values
Data Type
Description
M1X22_SUCCESS – Successfully set phone volume.
M1X22_FAILED – Failure.
2.15 M1X22_CallProgressMonitor
Description
For
the purpose of monitoring activities on the line, a Call Progress Monitor is provided in the 73M1x22.
This audio output contains both transmit and receive data with configurable levels.
Prototype
M1X22_RET M1X22_CallProgressMonitor (
M1X22_HANDLE chanHandle,
M1X22_CM_VOLTAGE_REF voltRef,
M1X22_CM_GAIN txGain,
M1X22_CM_GAIN rxGain);
Parameters
Data Type
Name
Description
M1X22_HANDLE
chanHandle
Channel handle obtains from open channel.
M1X22_CM_VOLTAGE_REF voltRef
Voltage Reference selection
M1X22_CM_GAIN
txGain
Transmit path gain setting
M1X22_CM_GAIN
rxGain
Receive path gain setting
Return Values
Data Type
Description
M1X22_SUCCESS – Successful.
M1X22_FAILED – Failure.