Commit Graph

21 Commits

Author SHA1 Message Date
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Arian
dcc5649777
davinci: audio: Increase headphones echo reference channels
Change-Id: Ic5d0ef1e4a5319763a195420919a81c9c39630ce
2021-04-25 14:49:59 +02:00
Arian
b4fb99e818
davinci: audio: Add handset backend
Change-Id: Ia9653281b88fb7cfff878665dec7649bf7d37735
2020-12-30 02:02:58 +01:00
Arian
588c8b5040
davinci: audio: Apply cleaned xiaomi mixer_paths changes
Change-Id: I05b46a8274b91ac0fc9c7d7ff86e0e16a54a6dab
2020-12-30 02:02:58 +01:00
Arian
bc93432e65
davinci: audio: Apply cleaned xiaomi audio platform info changes
Change-Id: I5e79f447ef05f2400a709bfe153eda33b5bf0987
2020-12-30 02:02:58 +01:00
Arian
103d331711
davinci: audio: Check out mixer paths and platform info to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I285c7bdadee4f7fe271a2e8b4ab4b991895f2781
2020-12-30 02:02:58 +01:00
Arian
c6d2fcb8a4
davinci: audio: Check out audio policy to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I621c12d3ff8ad185abd5f1277c8a13ad7aa89285
2020-12-30 02:02:58 +01:00
Arian
449aca62a9
davinci: audio: Fix handset echo reference paths
* Xiaomi is using the earpiece echo reference paths in their HAL,
  while CAF uses handset paths.

* Rename the earpiece mixer paths to handset mixer paths in order
  to apply the correct echo reference for the CAF hal.

Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
2020-11-28 18:12:02 +01:00
Arian
4fa86d3578
davinci: audio: Add echo-reference headset paths
* xiaomi uses the echo-reference headphones path also for headsets

Change-Id: Ica5e5c8c1ca1378a807614609a466e6d1129f2ce
2020-11-28 18:12:02 +01:00
Arian
374b2dc57a
davinci: audio: Adjust echo reference speaker path names for caf audio HAL
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
  calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.

* That led to an echo in voip speaker calls since xiaomi appends speaker
  to the path name and hence the echo reference wasn't set up properly, because
  xiaomi did not apply their echo-reference edits to the default path.

* To fix this we can apply xiaomi's "echo-reference speaker" and
  "echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".

* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
  because they are the same as "echo-reference" and "echo-reference-voip" and
  even if the HAL will support speaker paths one day, it would not be needed for
  us since we don't need to differ between speaker and no suffix.

Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
2020-11-28 18:12:01 +01:00
Arian
991edc2c96
davinci: Update from global stable V12.0.3.0.QFJMIXM
Change-Id: I5af4d9bb9f386707df37a6856805625c75cff7c0
2020-11-23 20:44:38 +01:00
Arian
fea051b9c7
davinci: audio: Drop audiosphere
Change-Id: I3263caea70c4b954e434bcf3498a4fdd7700fbdf
2020-11-23 20:44:38 +01:00
Arian
27edb262ed
davinci: Drop audioconfigstore
Change-Id: Iadb796a9f6f5187994474ccba7acdc77f51b7e75
2020-11-23 20:44:38 +01:00
Arian
12f436ea0f
davinci: Drop graphite ipc
Change-Id: I544529d834616340d4da98f9af9456cd65b0cb91
2020-11-23 20:44:38 +01:00
Arian
dbb6f79eb3
davinci: audio: Merge static mixer_paths overlay into mixer_paths_idp
Change-Id: If09ffda8650e2e8a64c2bcba850038a690d4db63
2020-11-23 20:44:38 +01:00
Bruno Martins
e0dab7b3ec
davinci: audio: Nuke dirac and misoundfx effect
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Angga Satya Putra
c77b652733
davinci: audio: Remove shoebox and hw_acc from audio effects
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL

E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml

Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
notsyncing
bf7bc6bfcf
davinci: audio: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.

Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
2020-08-06 21:28:07 +02:00
dianlujitao
da08da6e09
davinci: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2020-08-06 21:28:07 +02:00
Arian
763858361c
davinci: audio: Add libmisound
Change-Id: I42cf4678006710b441be031756cba301c79accfa
2020-08-06 21:28:07 +02:00
Arian
ea456f56d5
davinci: audio: Import configs
Change-Id: I401921a868d481002a5fff3b18161d5bcff81682
2020-08-06 21:28:07 +02:00