gsmHandsfreeVolume (Function) |
Top Previous Next |
Controls the volume levels used for the handsfree interface. Can be set both before and after opening the hands-free interface with gsmHandsfree. The volume levels does not necessarily correspond directly to a volume level in the device, but will be mapped to the closest supported level.
Input: spk: SINT (-1..100) Default -1 Speaker volume. Set to -1 to leave it as it is, 0 to mute. mic: SINT (-1..100) Default -1 Microphone volume. Set to -1 to leave it as it is, 0 to mute.
Returns: INT
Declaration: FUNCTION gsmHandsfreeVolume : INT;
Example: INCLUDE rtcu.inc |