This change is needed to fix a compilation warning in Compress VoIP
code when the feature flag "AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS"
is defined.
Change-Id: Ie19f542dc71705bc27a7278c83236904782f3a5e
CRs-Fixed: 590219
Add support for voip_out_stream_count in get_parameters which
will be queried by Audio Track to decide whether to open direct
output or not in case of VoIP.
Change-Id: Ic0d058dff32d9002cd452689636f342e748a7fe5
HAL doesnt let voice calls start if the device is set to speaker
as voice calls generally start on devices other than speaker.
However QCHAT calls start by calling setForceUse and setting the
device to speaker.
Fix by updating a flag whenever device routing happens when
AUDIO_MODE_IN_CALL. Reset the flag when mode is AUDIO_MODE_NORMAL.
CRs-fixed: 596074
Change-Id: I546959d2b0123828562dba1f6439aa494a365c3f
When setparameters() is called and if the known keys are not found,
the implementation returns -2 error.Fix this by setting error only
when keys are found and there is an error while executing corresponding
implemention.
CRs-fixed: 589280
Change-Id: If5544d6fdeac47ddfc1f7e8e18bfa81e2ef5cbc2
- HAL always assumed SOUND_CARD/MIXER_CARD
number to be zero. This could cause HAL
not to load when some other card is
detected earlier to HAL.
- Fix by removing these Macro(s) and reading
correct sound card number runtime while loading
- Corrected its use cases across HAL replacing it
with appropriate platform API
CRs-fixed: 580226
Change-Id: I4512e4a2f7f81d8415c3ba8ec393c96867e6d69a
- Correct the framesize for 16KHz VoIP use cases
- Add proper checks to enable compress VoIP use case
- Add get_parameters() support to query audio mode
Change-Id: I470d538f1e136780264e81b509fb439baead603d
If setParameters(vsid, callstate) call is processed before
setparameter(routing), voice calls will be started on speaker.
Fix by not starting voice calls by checking if the primary output
device is speaker.
Change-Id: If3ecb83bbcb02d5da40d66340276263413adabc9
Telephony will call set_mode(AUDIO_MODE_NORMAL) when a
call is ended which will trigger audio policy manager setting
routing with audio usecase compatible device. Voice calls can
still be active if RIL has not yet called
setparameters(vsid,callstate). This would result in routing
voice call usecases with incompatible device for voice calls.
Fix this by ending all voice calls when set_mode(MODE_NORMAL)
is called.
Change-Id: Id2c9f2ff9ed46969e5cbd27b525b81735c1d49d8
Compile voice extensions based on the flag
AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS defined
in BoardConfigVendor.mk.
Change-Id: I06c42bf4b79294fed2077c1d2771ed155f68de00
In multisim scenarios, local call hold tone has to be played
to the uplink on the sub on local call hold. Add incall music
delivery feature so that call hold tones can be played to the
uplink.
Change-Id: I8cecf0139926a4bfee603c02542bbedc67720bf4
The uplink, downlink and the combination of both can be
recorded using sound recorder app. Add support for incall
recording feature in audio HAL.
Change-Id: Ia828ab5b3af8044d82b6ef8eb989ae0ba9bbba16
Update HAL to add multi SIM voice support. Seperate
out voice features to voice files.
Add getprop/setprop for BT sample rate, Fluence and Slow talk.
Change-Id: Ief61466f78c7b915549981a28fc7ff32731607a5