1) Fixes for initializing audio_extn features such as speaker_prot,
fm,etc.
2) Runtime detection using vndk_fwkdetect lib has been
changed to dynamic loading instead of static linking
Change-Id: I4deef5e9ffefc17e427ecf5a271ed7bcd18dbb0f
Move audio and voice extension feature to seperate
dynamic libraries. Loading these libraries will be
controlled from config store based on target. These
flags can be changed at runtime
Change-Id: I042450768243124ea80945efac0821984f96b9bf
Fix incall music delivery issue by adding support for incall
music usecase in out_write and adev_open_output_stream
CRs-Fixed:2308665
Change-Id: I26f9f36c29017480ec064b8db2b2b9ae6b357fb5
Reduce logging level from error to warning in compress VoIP entry
functions to limit excessive logging when feature is disabled.
Change-Id: Ib7bbf6af06d8f24a396c2c5062ad005b2f17322c
Add dedicated streams for VoIP usecase. This includes adding
a new direct output and input types that use audio playback
and record paths respectively. It falls back to compress VoIP
wherever this feature is not applicable.
Change-Id: I9b7654819b9d8deb00f8888fbfc31f0fbbae5266
Make sure if the TARGET_USES_AOSP flag is defined
then all QTI specific features should be disabled
and compilation is successfull.
Change-Id: I440b538b5449177e14ca47f1dcfbec70a2ee7fed
With CLANG enabled and -Wall & -Werror being set in
LOCAL_CFLAGS, all warnings are treated as errors.
This commit fixes all the warnings most of which are
about unused variables and functions.
Change-Id: I32c6593fa0ad6a4fdca5dc8e6c76982a146a8bc6
Add support for sidetone for VoIP calls on voice path.
Enable/disbale sidetone during VoIP call set up/tear down
and also during device switch.
CRs-fixed: 890371
Change-Id: Ib79eed79ddcd2bfed1d9bc322195036736a67cb2
When MULTI_VOICE_SESSIONS feature flag is not enabled, the state of
incall recording stream is returned incorrectly. Fix the issue by
moving the corresponding piece of code from voice_extn.c to voice.c.
Change-Id: Id350bad65d12a4f165e80ee11cda3a8f342d38ee
Fix unused param warnings.
Take care of coding style issues.
Remove unwanted code to set acdb_settings.
Fix compilation issues on 8960 platform.
Change-Id: Ifc72472b487abee83ff85e21fd324cee938973e9
adev->voice_device_set flag is to indicate voice call
device routing update from policymanager to HAL. It is
set to true in voice_start_call and reset in update_calls()
which causes mismatch in flag update during back to back
voice calls scenario. Update adev->voice_device_set flag
in voice_stop_call instead of update_calls(). Rename
voice_device_set flag to in_call for readability.
Change-Id: Ie07105671f254899890bdb4c0635c7dc1f55dbff
- Unable to apply the mute in MT SIP call during Voice call
in CALL_HOLD.
- Mute is only applied if the voice call state is INACTIVE.
Thus when SIP call is made during Voice call in CALL_HOLD,
the mute is not being reflected.
- Fix this issue by checking voice stream type to allow
the mute to be applied.
Change-Id: I3af5225edd8e9a4123867b647de9405d5c4b9efc
CRs-Fixed: 642893
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
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
- 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
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