Commit graph

7 commits

Author SHA1 Message Date
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