Commit Graph

19 Commits

Author SHA1 Message Date
Shalini Manjunatha
6212a69e2f ssdm845-common: configs: Remove TelePhony Rx from primary input
Remove Telephony Rx to make in call record use case through
different front end pcm device when sva enabled to solve concurrency
capture issue

Change-Id: I8a036423da689a4de9abe767a0b6a595b4e068f1
2020-10-09 09:32:38 +01:00
LuK1337
5922487030 sdm845-common: audio: Add "Built-In (Back) Mic" to "primary input" sink
* That way video recording apps will choose 16-bit PCM by default instead of 24-bit
  one which happens to have quite low volume on these devices.

Change-Id: I2130c6a759afcd50a985b2f034b5c0b5374287af
2020-08-27 19:30:30 +02:00
Bruno Martins
e657c69620 sdm845-common: Fix-up audio policy configurations
This fixes the messed up AD2P configs imported from the stock file and aligns
it as per CAF. While at it, the entry for Vorbis offloading support in the
A2DP offload disabled config is removed to match non-disabled one.

Change-Id: I63a35526cfd46652329aef490ae32a0099274c64
2020-06-29 16:36:14 +02:00
Bruno Martins
8efaf44d84 sdm845-common: Switch to QTI BT stack
This includes the proper alignment to stock audio policy configuration.

Change-Id: I084d25c54e08d1421dbf43818b43357f78ad81ca
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
2020-06-26 20:15:36 +02:00
LuK1337
54044b9c23 sdm845-common: Remove hw_acc effect
* It doesn't work at all.

Change-Id: I60406590e44c77bf823a50272f24c16445725145
2020-03-14 10:01:15 +01:00
1nfrag
ee38d63387 sdm845-common: audio: Remove references to misoundfx lib
Solves:

EffectsFactoryConfigLoader: Could not find library in effect directories: libmisoundfx.so

Change-Id: I9d41ccf067d2c39dc51ee0260c52425ca36bfee4
2020-03-01 10:49:14 +02:00
Bruno Martins
049d8e1444 sdm845-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I89fd37962b2d063d6e30f84234568d552131fd97
2020-02-04 21:39:34 +01:00
Cheney Ni
47a2f9aea8 sdm845-common: Support A2DP offload for Bluetooth Audio HAL V2
Remove primary flags from hearing aid also.

Bug: 124277691
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: Ibc86687a6a6c2f0767a213ccd408e7bb5de98985
2020-02-03 23:33:52 +00:00
1nfrag
7c4488d71e sdm845-common: Update to Q-based audio configs
Taken from: Xiaomi/polaris/polaris:10/QKQ1.190828.002/V11.0.3.0.QDGMIXM:user/release-keys

Change-Id: I9dc0736cec5ef1a541fd31038a50c314a4aff565
2020-02-02 10:27:35 +00:00
dianlujitao
9151ed1048 sdm845-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2020-02-02 10:09:14 +00:00
Ramjee Singh
05a197da8c sdm845-common: configs: Use AOSP implementation for sw effects
Change-Id: I46197c387c9af88e1b8c22ffcc42d4dcf16bc31f
2020-02-02 10:09:14 +00:00
Dhananjay Kumar
a3b30290f9 sdm845-common: configs: Remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.

Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
2019-09-14 22:56:30 +02:00
Mingshu pang
11ced7f7a7 sdm845-common: configs: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
2019-09-14 22:56:30 +02:00
Samyak Jain
6c22289ab9 sdm845-common: configs: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2019-09-14 22:55:47 +02:00
Bruno Martins
1ea080f18f sdm845-common: Import audio configs
* Configs from MIUI 9.3.7

Change-Id: If3c0b7f31e989b1c67241d1cab035b4470c81b89
2019-08-01 00:28:53 +01:00
LuK1337
58a0b8bbd7 sdm845-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2019-07-04 12:02:19 +01:00
notsyncing
0a2d027d0b sdm845-common: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.

Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
2018-12-27 17:34:59 +01:00
LuK1337
9d7e26ea10 sdm845-common: Load A2DP configuration from a2dp_audio_policy_configuration.xml
* CAF configuration doesn't really work for us.

Change-Id: Ib062430f9005a67354e2352a81fffd8cadc3c7cf
2018-10-02 12:48:18 +02:00
Bruno Martins
622aea6627 sdm845-common: Import and bind mount stock custom audio policy config
* The purpose is to apply the same BT A2DP fix that used to be
   applied in the individual device trees.

Change-Id: I500948b5e1e11ee11097ee2e115b0c23dd808a12
2018-10-02 12:48:07 +02:00