History log of /hardware/qcom/audio/hal/voice.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6f0a9c24ecc6ddbeeef5f389328e4b8f8a66b3d 22-Mar-2018 Vignesh Kulothungan <vigneshk@quicinc.com> hal: Add support for Mic break detection

Send request to driver, to enable mic break detection algorithm in ADSP
based on system feature flag during the start of a voice call.

Bug: 69979011
Test: Built and verified with calls that without changes to ACDB files,
mixer toggle is harmless. ACDB modification testing in progress.
Change-Id: Ifef68005741f3ae538a7b3c414bc8cd0f817915c
/hardware/qcom/audio/hal/voice.c
ba2749abc381619dd9ee67404c1ac3081442a135 17-Apr-2018 Arun Mirpuri <amirpuri@codeaurora.org> hal: Add incall stereo capture

Add mixer control to pass channel config to kernel
to support incall stereo capture.

Bug: 79869195
Test: voice call regression

Change-Id: Ic2c9ebfc42cfc7a6e0d1a9facb4d2658f6c343cb
/hardware/qcom/audio/hal/voice.c
e6e2d441c567d5da185b787d6c10ca2c8b36a694 23-Feb-2018 Haynes Mathew George <hgeorge@codeaurora.org> audio: Fix deprecated log warning

Test: make
Change-Id: Ie8c479cdf918750ad3e96efc33d00007bb321776
/hardware/qcom/audio/hal/voice.c
909338795148d37f43989368c24fd988e60e8165 16-Jun-2017 vivek mehta <mvivek@codeaurora.org> hal: add sidetone support for USB

if usb device provides sidetone contols
- disable sidetone when usb is detected
- enable side tone only for calls.

Bug: 37404459
Test: made voice call, confirmed sidetone. Following call,
music capture and playback does not have sidetone present.

Change-Id: If2e4926f50aaaae07ea72fd5528ab0cd6658d8ab
Signed-off-by: Andrew Chant <achant@google.com>
/hardware/qcom/audio/hal/voice.c
13f26e89c56b41371c69a9a2f59f6ff95f6bab93 18-Nov-2016 Alain Vongsouvanh <alainv@google.com> audio: hal: add customized external smart pa code

add customized external smart pa control code

Change-Id: I667648a98f887bc488827fada6a00f9f987ff513
/hardware/qcom/audio/hal/voice.c
6ed310d17948110d33b5b2efe09f58dc4b04fb9f 03-Aug-2016 Vineeta Srivastava <vsrivastava@google.com> Revert "hal: voice: fix no sound issue in voice call"

This reverts commit 43e14821fa0aafb2166ab71818efcf24110a3de1.

Bug: 30581978
/hardware/qcom/audio/hal/voice.c
43e14821fa0aafb2166ab71818efcf24110a3de1 29-Jun-2016 vivek mehta <mvivek@codeaurora.org> hal: voice: fix no sound issue in voice call

- no audio heard in voice call scenario because in_call state
is not updated when voice usecase is stopped. This results in
not starting voice call usecase when setting up next call.

- fix is to set in_call state to false in voice_stop_usecase().
This is to ensure that voice usecase is stopped and in_call
state is update properly.

Bug: 29581781
Change-Id: Id27f2b90cf0de678b39d8efb712045f1ee7b2aaf
/hardware/qcom/audio/hal/voice.c
a1f480505a2e11b65e8fe6590239bd87b3a33f11 08-Sep-2015 Uday Kishore Pasupuleti <upasupul@codeaurora.org> hal: Support mute/unmute for HFP Tx

Current hal doesn't support mute/unmute for HFP Tx. So add the feature
to support mute/unmute for HFP Tx

Bug: 23559037
Change-Id: Ibd67225ce926516974ca87059bb139e6af0083ac
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
/hardware/qcom/audio/hal/voice.c
765eb645d3a83949a05eecb9f22a84bd47978c19 08-Aug-2015 vivek mehta <mvivek@codeaurora.org> hal: Fix sidetone sequence during voice call

When sidetone is enabled during voice call, the RX and TX path mixer
controls are issued back to back, this causes the codec path to be
enabled from TX to RX as the internal loopback for sidetone exists. Due
to enabling this path, pop noise is observed on headphones. This issue
is fixed by treating sidetone as special case and changing the enable
and disable sequence of sidetone mixer controls.

Based on CAF commit : I7aea55af963cf939286e5b349ff25fd783314679

BUG=23135950

Change-Id: Ib5759e08d9b5948a76545b032d882231410cfa2a
/hardware/qcom/audio/hal/voice.c
eecfa9adcc8490896e13bb56ad8451049af80e2c 21-Mar-2015 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: Ensure mic mute state updated before starting voice call

Currently the mic mute state is not propagated to the DSP if
the call is already disconnected.

Bug: 19611381
Change-Id: Id5da4b730575d46816f857b631165b4b2c9d0519
/hardware/qcom/audio/hal/voice.c
7c685a1267affc6f96a26f81164b913cd60a3924 20-Mar-2015 Vineeta Srivastava <vsrivastava@google.com> audio: Remove build warnings

Change-Id: I3a31c4e9c500b60e377cd54bd2e1b400c10696f6
/hardware/qcom/audio/hal/voice.c
b09e4a04c7a8ca770affbf48f154222ccd083f4b 21-Oct-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: use consistent in call indication

Use voice_is_in_call() instead of mode == MODE_IN_CALL
as a valid indication that we are in call to choose sound
devices.

Bug: 18058600
Change-Id: Iefa968ee463d4ade6c7d09626be667faab6eda98
/hardware/qcom/audio/hal/voice.c
a4fc90203ca4c60175b016c4d48438b985a71462 09-Oct-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: update handling voice call driving output

For device switch from USB headset to speaker or vice-versa,
it is not required to completely tear down the call and restart
on the new device.

Bug: 17573788
Change-Id: I5ccdc225e19a7036dd8c6a028f69a505c9a3634d
/hardware/qcom/audio/hal/voice.c
75a2e1d2119c21c043362d53208f4c46d8c556a6 29-Aug-2014 Eric Laurent <elaurent@google.com> audio: fix voice call crash on 8084 platform

Fix voice API incompatibility introduced by
commit 8edfd66a.

Bug: 16949514.
Change-Id: I6ef5d12e6a3d54e7cf084c802b54b07f6bccce5c
/hardware/qcom/audio/hal/voice.c
99c752d87eb818fc3cfb2e5c6790b1ea0bc88da5 21-Aug-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> Revert "Revert "audio: add support for routing to/from voice TX/RX paths""

This reverts commit 55a1293b422d181281cf0f7d37c6c15c5d921ef3.

Bug: 15520724.

Change-Id: I46c2402bedd513c148b2c309c6f18a7ef3aa4d2a
/hardware/qcom/audio/hal/voice.c
08dbcfc116e62f5b4007cade7311430ea235a09e 21-Aug-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: avoid usage of extern functions and tables

If there is any difference in the signature of a function declared
as extern, it will not be reported by the compiler and may result
in unexpected results when executed.
All the API functions should be declared in a header file.

Change-Id: I89662e23da8118c3a9eac728b389498ed52e19c2
/hardware/qcom/audio/hal/voice.c
f1819247a21f755757a28ea313678faff73ef349 06-Aug-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: fix voice call device routing issue

voice_device_set flag is to indicate voice call device routing
update from policymanager to HAL. It is set to true in voice_extn_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_extn_stop_call instead of update_calls().

Bug: 17149385

Cherry-pick of CAF commit: e0085d06416a8fb6d0b4503900508c16fbc98c58

Change-Id: Ie07105671f254899890bdb4c0635c7dc1f55dbff
/hardware/qcom/audio/hal/voice.c
8b33679691b04f8b14cc512a012359f78fadc723 12-Aug-2014 Ravi Kumar Alamanda <ralama@codeaurora.org> hal: Fix initial audio loss in voice calls

Remove redundant CSD client API call which is taking more than
600msec due to socket realted failures. The csd_get_sample_rate
API is only meant for I2S based external modem.

Bug: 16550747
Change-Id: I696846188b0b3815efdb7bc0905ac68c5195899b
/hardware/qcom/audio/hal/voice.c
55a1293b422d181281cf0f7d37c6c15c5d921ef3 11-Aug-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "audio: add support for routing to/from voice TX/RX paths"

This reverts commit 8edfd66a7b1d033e65e5621d25ef3cbf1f40316e.

Bug: 16949514
/hardware/qcom/audio/hal/voice.c
8edfd66a7b1d033e65e5621d25ef3cbf1f40316e 10-Jul-2014 Eric Laurent <elaurent@google.com> audio: add support for routing to/from voice TX/RX paths

Add support for routing voice calls to devices in other audio
HALs by allowing playback and captuer to/from AFE proxy.

Bug: 15520724.

Change-Id: Ia4a4428001ea06f7c7b213db861ec281ebd25174
/hardware/qcom/audio/hal/voice.c
9d0d3f1537b5d157a2c31e0744303524b846446e 25-Jul-2014 Eric Laurent <elaurent@google.com> hal: Add support for Hearing Aid Compatibility (HAC) mode

Change-Id: Id4e7eb98336fd3dd3569a31b61a3ccf529d081a3
/hardware/qcom/audio/hal/voice.c
ff5d6518fa0e7e4d405fd11f71670551b7728969 19-Jul-2014 Haynes Mathew George <hgeorge@codeaurora.org> audio: Ignore ENOSYS error from voice_extn_set_parameter

Ignore this error as voice extn is unsupported by some targets.
Bug: 16373768

Change-Id: I6e3f51948aa21f679aca75a8986cfab09a72e320
/hardware/qcom/audio/hal/voice.c
4b89e37ad290ef955abf8ac1d151728303311345 19-Jun-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "hal: Add support for IMS calls""

This reverts commit a609e8ebdfeca875b6d35ccfb3fb8b87710f3499.
/hardware/qcom/audio/hal/voice.c
a609e8ebdfeca875b6d35ccfb3fb8b87710f3499 18-Jun-2014 Eric Laurent <elaurent@google.com> Revert "hal: Add support for IMS calls"

This reverts commit cedf1ac3c00e331b5f51b077f26c1367544ddd65.

Change-Id: I5f92f28c8b97265263a0bce5b38ff60d4655b68b
/hardware/qcom/audio/hal/voice.c
cedf1ac3c00e331b5f51b077f26c1367544ddd65 11-Jun-2014 Haynes Mathew George <hgeorge@codeaurora.org> hal: Add support for IMS calls

Move all the voice call specific code to a new file.
Add voice extension files to support IMS calls.

Change-Id: I1b7235500c8e3c2285b726b351d996dc3e5ebdf6
/hardware/qcom/audio/hal/voice.c