Commit graph

26 commits

Author SHA1 Message Date
Zhou Song
5bf0dcf7fe sm8350-common: Add support for BT LC3 codec
Add format support for LC3 codec of BT device.

Change-Id: I3e14fcf226ef3c24b657ece41ed5ed8e004e34e8
2021-06-01 22:29:59 +01:00
Vignesh Kulothungan
9c00d0f7ba sm8350-common: Add support for native dsd
Add new mixport in policy configuration to support
native dsd playback. Add routes from dsd mix port to
headphone/headset devices.
Add mixer control path for headphones-dsd device.
Add RX_CDC_DMA_RX_5 as backend interface for headphones dsd.

Change-Id: I77a94a57eb27aacd8e08db9191e54b692aa1cc36
2021-06-01 22:29:59 +01:00
Zhou Song
ae172d641b sm8350-common: Adjust haptics usecases definitions
Adjust definitions for haptics usecases for better
maintenance.

Change-Id: I50cd85c5e00b742a03e8667d85d4020100795e26
2021-06-01 22:29:59 +01:00
Meng Wang
edfe327f27 sm8350-common: Update mixer control and be for haptics devices
Update mixer control and be for haptics devices.

Change-Id: Id7475b35d3a6b6bd67543006ff7d9d1b416b70f6
2021-06-01 22:29:59 +01:00
Meng Wang
7a2990ca39 sm8350-common: Add haptics support
Add haptics support.

Change-Id: I35e3ac85addf1be7f46dbbb34ed176428aa70710
2021-06-01 22:29:59 +01:00
Zhou Song
d8977f9f0e sm8350-common: Add dedicated hearing aid proxy configs
Add hearing aid configs in HAL.

Change-Id: Iaaec0b4d097fca67d35cb1e098c23f51b331837f
2021-06-01 22:29:58 +01:00
Bruno Martins
2947ddf81e sm8350-common: Update audio and media configs from OOS 11.2.5.5
Note that media_codecs.xml, media_codecs_performance.xml and
media_profiles_vendor.xml are now plain copies of media_codecs_lahaina.xml,
media_codecs_performance_lahaina.xml and media_profiles_lahaina.xml,
respectively.

Change-Id: I420d583f014ba4fd13f3e8f9629f36f7d158c957
2021-06-01 22:29:40 +01:00
LuK1337
16c1dc83b2 sm8250-common: audio: Switch speaker-dmic-endfire ACDB id to 43
Apparently switching SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS to the
same ACDB id as SND_DEVICE_IN_VOICE_SPEAKER_DMIC improves
WhatsApp microphone volume when in speaker mode.

Change-Id: I4eb72fd2726d8ea10da56a76b820ee51a24d3c67
2021-03-07 23:06:43 +01:00
LuK1337
2ed8019dd4 sm8250-common: Import config/script changes from OOS 11.0.4.4
Change-Id: I90d3f654f18d90d25f7b2321dbfebfecc79ee958
2021-02-08 20:12:21 +01:00
Lakshman Chaluvaraju
cb57f3d6f0 sm8250-common: Enable Stereo channel support for voip over audio path
Add changes to support stereo channel configuration
for voip over audio path.

Change-Id: Ib454d24a4017d3f91d429d47c52d4f86e5a18e97
2021-02-01 14:51:32 +01:00
Jaideep Sharma
a3a7f782df sm8250-common: Provide support for callscreening for kona/lito.
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2021-02-01 14:51:32 +01:00
Zhou Song
4ad82c6dab sm8250-common: Move "fast input" and "quad mic" to the bottom
Generic recording and SVA LAB capture usecase can select
"fast input" or "quad mic" as a compatible profile, due
to the max active count is 1, audio recording and SVA
LAB capture concurrency can be failed.
Move the two profiles to the bottom for exact match
purpose.

Change-Id: Idaa615e653f0cf49e465809ab0034c0e56470a6e
2021-02-01 14:51:32 +01:00
Kunlei Zhang
ca267b96ef sm8250-common: Removing unsupported source
Removing dsd_compress_passthrough from headphones/
headset/line.

Change-Id: I136005329ab3764f57b53c118694ad44eb9c0a21
2021-02-01 14:51:32 +01:00
Kunlei Zhang
81a25d5ca3 sm8250-common: Use usb_surround_sound input profile for usb capture
Use usb_surround_sound input profile for usb capture to avoid
opening a new input for the second usb capture.

Change-Id: Id17a5daf9aefb390f374754c340a69b2113fe987
2021-02-01 14:51:32 +01:00
Zhou Song
4fe75c1701 sm8250-common: Add support of BT SCO mic for record_24 profile
Usecase audio-record and audio-record-compress2 can both be
mapped to record_24 profile, if both the usecases are active,
when BT SCO mic is connected, due to no more available usecases
in audio hal, check inputs for device can fail for other input
profiles which support BT SCO mic.
This makes BT SCO mic connection to be rejected and phone call
can't route to BT.
Add the support for record_24 profile, so existing input handle
can be returned when checking inputs for BT SCO mic.

Change-Id: I63046ec87e35774474e08762fb6aa6275318b2c8
2021-02-01 14:51:32 +01:00
Dhananjay Kumar
cdfe17d977 sm8250-common: 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
2021-02-01 14:51:32 +01:00
LuK1337
bc11d47a23 sm8250-common: Import audio configs
Change-Id: Ia3d9ed83f96d781f06d8f8eb3069c7a6276e7e70
2021-01-06 11:18:27 +01:00
LuK1337
f10677c407 sm8250-common: Sync audio_policy_configuration.xml with OOS 2020-06-27 00:17:27 +02:00
LuK1337
82a53244e0 sdm845-common: audio: Switch to CAF A2DP configuration
Change-Id: Id70fb654f8ab1451ca84e0e34e2efe9b51e7d174
2019-12-21 23:37:29 +01:00
Sujin Panicker
aba9d5796c sdm845-common: audio: Remove unnecessary profiles from USB input device
CTS test USB Audio Peripheral Attributes fails due to
extra profiles getting added

remove the extra profiles added for USB input device

Change-Id: I19311a65612bb8ecad40d9a3714a5cfe32dce110
2019-12-21 23:34:45 +01:00
Sujin Panicker
f7d45f32f5 sdm845-common: audio: Add voip_tx profile to policy conf
Skype+camcorder concurrency usecase makes Skype
to mute since both uses same record_24 profle, due to
which second audio record request de-prioritizes first
setting isTopOrLatestActive(=true)

Add voip_tx profile making skype to use fasttrack rather
than using record_24 profile

Change-Id: I4a6cee00787f8f587b088d4586e8d13d824144c3
2019-12-21 23:34:45 +01:00
LuK1337
105677e43e sdm845-common: Update audio policy configuration
Change-Id: I93a44b238eb9092018b93429565035e0f2b153a0
2019-09-13 19:43:19 +02:00
LuK1337
a871fa7e4f sdm845-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2019-06-24 22:05:56 +02:00
Luca Stefani
11b69a1f0c sdm845-common: Update audio policy configuration to match P
Change-Id: I2696213354167443e9442f8d29c1d1c11427a57d
2018-12-24 22:35:43 +01:00
LuK1337
977444af69 sdm845-common: Load A2DP configuration from a2dp_audio_policy_configuration.xml
* CAF configuration doesn't really work for us.

Change-Id: Ib062430f9005a67354e2352a81fffd8cadc3c7cf
2018-10-14 14:34:09 +02:00
LuK1337
1272127b9a sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00