Commit graph

13 commits

Author SHA1 Message Date
Kunlei Zhang
35b0612b99
clover: configs: configure channel number for voip echo reference
Configure channel number for voip echo reference to ensure voip
tx path is started properly.

Change-Id: I3433f2884c5fb6712aecad910aebf06423e4e684
2020-01-02 12:59:12 +01:00
kunleiz
28fbd22456
clover: configs: add mixer path for voip echo reference
Add mixer path entries to support voip echo reference
with using AUDIO_REF_EC_UL10 mixer.

CRs-Fixed: 2329216
Change-Id: I5bcc653e5cb5d51c44745b04c2fb7290c681cc6c

taken from here https://source.codeaurora.org/external/gigabyte/platform/hardware/qcom/audio/commit/configs?h=LA.UM.8.1.r1-13000-sm8150.0&id=001b677cd5acfcb2b4a4862d1326f6c15e552e9c
2020-01-02 12:54:08 +01:00
Sujin Panicker
c35e8f7825
clover: configs: Add speaker-safe mixer paths to all targets
Add mixer paths for speaker-safe device for sdm845,
sdm710, sdm660, & msm8998 targets.

CRs-Fixed: 2528564
Change-Id: Ie6686682f28075eaca6535e17011fb18477af80b
2019-12-17 17:17:54 +01:00
Prasad Kumpatla
250a93dac7
clover: audio: add mixer controls and be updation in platform_info
For custom_upsampler, add mixer controls and backend updation in
platform info in atoll, kona and steppe.

* fixes Headphones without mic on sdm660

Change-Id: I0c61024c444e9950568797779545f43e7ec3ba1b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-12 07:57:21 +01:00
pranavkapoor001
f382b057f4
clover: Audio: Fix Incall-Mic With Earphones
* E/audio_route(694): unable to find path 'voice-headset

Signed-off-by: pranavkapoor001 <pranavkapoor001@gmail.com>
Signed-off-by: TH779 <tongsj2333@gmail.com>
2019-12-07 14:09:47 +01:00
Sujin Panicker
036b2dec51
clover: audio: Update audio files due 8916 & 8974 platform convergence 2019-10-03 17:12:37 +02:00
Lakshman Chaluvaraju
f5ec843089
clover: Add support for suspend mixer ctls
Add support for mixer controls to enable suspend/resume
for low latency sessions. These mixer controls are used
to remove the QOS vote in ALSA core

Change-Id: I77505de2c9e859f1cf75360789e480975a96a6a3
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-05-19 10:10:19 +02:00
Max Weffers
d0e1a73c13
Revert "clover: Use voice speaker ACDB id for speaker"
This reverts commit 7c657543be.
2018-12-09 10:31:23 +01:00
Preetam Singh Ranawat
d7231b5c8a
clover: remove default sampling rate and channel entries for bt a2dp
-Remove default setting of sampling rate to 48K and stereo channel
  for bt a2dp as support for multiple sampling rates and channels
  over a2dp is added and being set from hal.

Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
2018-12-03 12:38:05 +01:00
Vatsal Bucha
9cca15f526
clover: Update mixer paths for sdm660 internal codec
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.

CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
2018-12-03 12:36:38 +01:00
Ramjee Singh
66327a222f
clover: separate BT sample rate Rx and Tx backend config
Independent configuration of Rx and Tx backend sample rates
for BT usecases.

Change-Id: Ic2437531dad1e53e866100c4022e4667103f4c92
2018-12-03 12:34:26 +01:00
dianlujitao
7c657543be
clover: Use voice speaker ACDB id for speaker
* Speaker isn't properly calibrated with ACDB from O-based MIUI (while
   it was on N), pop is heard when disabling speaker.
 * MIUI has speaker protection enabled, hence this route isn't even
   used by Xiaomi. However, with speaker protection enabled on Lineage,
   the volume curve became very strange, maybe Xiaomi uses Dirac audio
   effect to address this issue on MIUI, but it's not supported on AOSP.
 * Fortunately voice speaker seems to be properly calibrated, so apply
   that route to fix the issue.
 * Voice speaker gain in ACDB seems to be lower than speaker, so
   slightly increase gain in mixer paths to make it sound like a "normal"
   speaker.

Change-Id: Ic674973933595db0ae797a7fa767539a321664ff
2018-11-26 11:48:29 +01:00
GuaiYiHu
038548508d
clover: audio: Import Audio Configuration from MIUI 8.8.23 2018-09-27 12:08:59 +02:00