Commit graph

36 commits

Author SHA1 Message Date
Jasmine Cha
51e45212b5 sdm660-common: audio: enable speaker spatializer
* 0605 build lib is same file as 0805 felix/cheetah
Bug: 260779305
Test: manual test

Change-Id: Ifbcee9faebb7607ec08db947e69d1d2d31d9eaab
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
Eric Laurent
0bcf3c794d sdm660-common: configuration for spatial audio
Update audio configuration to enable spatial audio:
- build with spatial audio feature enabled and rondo library
- list spatializer effect in audio effect configuration file
- update audio policy configuration files to declare spatializer output
- declare immersive end point in audio platform configuration

* Alcatraz: not enable on bt-a2dp, usb out, tested it will create "bzzzzzzzz" like noise, not in good effect, only works well for wired headphone.
* update lib to July

Bug: 237677573
Test: spatial audio playback
Change-Id: Ic9c32d813a19ba2789425e12ee9016d53ab30678
Co-authored-by: Alcatraz323 <alcatraz32323@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
Alcatraz323
707d3e73b7 sdm660-common: audio: correct primary input route source
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-09 12:29:09 +02:00
pix106
6ea66cca8a sdm660-common: configs: drop audio_platform_info_intcodec.xml and mixer_paths.xml from common source 2023-03-20 07:18:06 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Anver sadhique
2a07f5a662 sdm660-common: audio: Set valid and supported channel mask for earpiece
For earpiece to be properly enumerated as a output device,
set valid and supported out_ channel mask.

Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:40:13 +01:00
pix106
8324656fc1 Revert "sdm660-common: Drop non-functional soundtrigger"
This reverts commit 0ae0e2d50a.
2022-08-25 10:08:30 +02:00
pix106
985430ecd7 sdm660-common: audio: FIX "Switch audio HAL to V7 Updated audio policy manager configuration files to comply with the changes in the XML schema." 2022-08-25 10:04:35 +02:00
clarencelol
0a671bb3d1 sdm660-common: audio: Use AOSP USB audio configs
* Apparently, this is the fix for DAC Type C

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
SakilMondal
0ae0e2d50a sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
* Also remove unessential soundtrigger configs

Change-Id: I21100e2f368ec0ddf3b546372b241d85bb698747
Signed-off-by: faham1997 <nafidfaham08@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Shalini Manjunatha
9392f28e5b sdm660-common: audio: New attribute in sound trigger xml to know support for second stage detection
-> Introducing new attribute to know if second stage detection
supported on given target
-> By default it is supported on all targets
-> Define only on those targets with value false where no support

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
Dhananjay Kumar
299f9f9098 sdm660-common: audio: 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
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:34 +01:00
Eric Laurent
2a501289b6 sdm660-common: audio: add offload gapless support flag
Add flag AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to explicitely indicate support
for gapless transitions for offload output profiles in audio policy
configuration file.

Bug: 158191844
Test: atest AudioTrackOffloadTest
Change-Id: Iafee0cbc0a67fa12d2f0751b58ef7fa301ba45e4
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
llololo
64403ca404 sdm660-common: audio: Add new flag name to compress offload case
Add AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to compress offload case.

Bug: 188113788
Test: Play compress offload music and check app type from logcat
Change-Id: If31a50ffafb43cb350c84fcc60774af116f30ff8
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Mikhail Naganov
51f1cc24b2 sdm660-common: Switch audio HAL to V7
Updated audio policy manager configuration files to comply
with the changes in the XML schema.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
[Ratoriku: Adapt to xiaomi sdm660]

Change-Id: I55d3728c809d27e58d5d496a1c7d637050dde53a
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
clarencelol
ebd421dc9a sdm660-common: Aosp-ify bluetooth
* Nullified remaining QTI Bluetooth remnants
* Remove some props
* Using usb audio hal from source

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Akash
9a013e05df sdm660-common: prop: Fix mic issues on apps like Whatsapp
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:32:12 +01:00
OdSazib
53c3064ba1
sdm660-common: audio: Update audio configs and enable soundtrigger 2021-05-15 07:20:19 +06:00
OdSazib
ef00e5f20b
sdm660-common: DeviceSettings: Import in-app Dirac
- Improve code with reference and split gain category

This reverts commits
- 471da74
- de7135d
- f6c011d

All credit goes to Stylog, this is just revert commits with few improvement

Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 02:24:09 +06:00
etahamad
f6c011d64d
sdm660-common: audio: Add standalone Dirac support 2021-04-02 01:16:05 +06:00
Akash
a8fc4e3fd4
sdm660-common: audio: Fix mic issues in apps like WhatsApp 2021-03-31 07:32:26 +06:00
Dyneteve
c0ae317e6f
sdm660-common: Add 2 instance support for record_24
Change-Id: I365ccae65cdf74aaa176b19de23ecd4400efa16e
2021-02-10 09:05:28 +06:00
Michael Lenskiy
00956a4e88
sdm660-common: audio: Add fast input profile for the record concurrency
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.

Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.

CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
2021-02-09 20:53:35 +06:00
Michael Lenskiy
673245c359
sdm660-common: audio:Add hotword input for hotword mic concurrency 2021-02-09 20:53:35 +06:00
SakilMondal
e5222049af
sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
2021-02-09 20:53:21 +06:00
OdSazib
256c2fbfed
Revert "sdm660-common: Switch to QTI bt stack and enable a2dp offload"
This reverts commit a85c69a8b5.
2020-12-30 22:04:27 +06:00
OdSazib
471da74c21
sdm660-common: XiaomiParts: Remove dirac completely
* Fix XiaomiPart crash while using audio mod like v4a/dolby

Signed-off-by: odsazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
LuK1337
5f8b253a9a
sdm660-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I10cd34c6e52e9c72f3089d3c5f479d5ea5532d86
2020-10-19 11:36:06 +06:00
dianlujitao
a85c69a8b5
sdm660-common: Switch to QTI bt stack and enable a2dp offload
Change-Id: I8b3e7701a81ac92696d59c145e91351839048e39
2020-10-19 11:36:06 +06:00
Anush02198
5a4028667e
sdm660: audio: Use QCOM implementation for audio effects
* AOSP effects doesn't give as thicc'n'sicc bass boost as

   the QC effects do

This reverts commit 3f1432c7df.

Change-Id: I511dee479ad10932e8f48dfae2232295e776e5b3
2020-08-12 02:11:32 +06:00
Bruno Martins
e41888742c
sdm660-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: I7e7336d03f1423938962c8859efcca0b2dad3a0f
2020-08-12 02:02:40 +06:00
Max Weffers
ee3d97317f
sdm660: audio: remove unneeded a2dp offload xml
* its not used in our current a2dp configurations
* useless due the fact our normal audio policy xml not contain offload 
support

Change-Id: I13a405af01627aa98d0e45aa90cf22d5204f8812
2020-08-12 02:02:38 +06:00
Dyneteve
cce384b6dd
sdm660-common: Add 2 instance support for record_24
Change-Id: Ibcdb612763a9eda2579ef7e22d9d72b8426ea2ef
2020-02-27 17:01:36 +01:00
Bruno Martins
ca70a16e0f
sdm660-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-03 16:27:21 +01:00
Max Weffers
b042f43f00
sdm660: audio: Merge Audio Changes from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I4fb1053841d86af4417716677306ca1a9e97ce44
2020-01-11 17:50:03 +01:00
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00