SpeakerPhoneSetVolumeGain

Command(s) to set the speakerphone volume and gain.

One or more command strings can be used. For example,

(1)
HKR, SpeakerPhoneSetVolumeGain,  1,, "at#spk=,<Vol>,<Gain>"
(2)
HKR, SpeakerPhoneSetVolumeGain, 1,, "at#vgs=<Vol>"
HKR, SpeakerPhoneSetVolumeGain, 2,, "at#vgm=<Gain>"
 

These commands are issued after a call has been connected in voice mode, and speakerphone has been enabled.

The <Vol> macro will correspond to the volume to be set and the <Gain> macro will correspond to the gain to be set based on the SpeakerPhoneSpecs and the volume passed down from TAPI (for example, from the TAPI function phoneSetVolume). <Vol> and <Gain> are placeholders that will be filled in to the correct values by Unimodem.

See also

SpeakerPhoneSpecs registry entry and the overview of speakerphone modes in the Modem Development Kit documentation