Commit graph

16 commits

Author SHA1 Message Date
Tommy Webb
06d75d3f49 sm6225-common: Don't try to play many-channel audio as is
These devices don't have surround sound, as nice as that would be, so
stop pretending. Otherwise, we get weird behavior, like playing surround
sound audio at full volume regardless of the media volume or mute state.
Now, it plays properly.

Issue: calyxos#2075
Change-Id: Ic530906a9dacb2699e32f2ed91f38fab0dad1492
2024-03-22 16:53:45 +00:00
Arian
aa07f8d593
sm6225-common: Don't advertise aptX adaptive and celt in audio policy config
Android 13 QPR1 does not seem to like advertising unsupported codecs here.

Change-Id: I23a7f626a268a0c89199aaa5899df9b812d85ae2
2023-06-16 21:42:14 +03:00
LuK1337
d930c127a7 sm6225-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.
 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2023-06-10 12:47:47 +02:00
Michael Bestas
c0b985cab2
sm6225-common: Decommonize audio_policy_volumes.xml
Change-Id: Icaf4501ea49cb3e60a6ceb0e209bdaa5e13e83e9
2023-05-10 23:03:37 +03:00
Michael Bestas
87a87dcf62
sm6225-common: Switch to qcom audio effects
Change-Id: I5ebb51f416257602734bc45b7c1e6e7ba3014ec0
2023-04-23 22:15:25 +03:00
Michael Bestas
caebeb5c10
sm6225-common: Import audio_io_policy.conf from CLO
Change-Id: Ia14eba4ceda9294a1f38800443c8ca333a380b71
2023-04-23 21:00:40 +03:00
Michael Bestas
f0fa6fd7aa
sm6225-common: Remove unused audio_ext_spkr.conf
Change-Id: I0184d5a15cf3c343fd032d518ace2b5ac4117d10
2023-04-23 21:00:08 +03:00
Michael Bestas
d24cb26618
sm6225-common: Remove unsupported A2DP offload codecs
These codecs don't work with the AOSP BT stack

Change-Id: If7dd128362480bfd841deab6800f4f36be4990d4
2023-04-20 19:15:58 +03:00
Bruno Martins
ced455eb30
sm6225-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
2023-04-20 19:12:32 +03:00
Cheney Ni
4703ee1711
sm6225-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
2023-04-20 19:12:32 +03:00
dianlujitao
3700001fbc
sm6225-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2023-04-20 19:12:32 +03:00
llololo
99fe141990
sm6225-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-04-20 19:12:32 +03:00
Michael Bestas
78fd61d1c4
sm6225-common: Import vendor a2dp_audio_policy_configuration from CLO
Change-Id: I8563c2ea7c1ffe1e491d543b5c6dd32831ca1884
2023-04-20 19:12:32 +03:00
Cosmin Tanislav
a851359f32 sm6225-common: audio: remove usage of libspeakerbundle
Change-Id: Ieaac903a65fe174c9a697de47091169817c2c9b7
2023-04-09 01:09:24 +05:30
Marc Bourgoin
ae1c1cd0ba sm6225-common: Remove unused audio effects
We aren't including any Dolby blobs and libswvqe.so doesn't exist on sm6225 devices.

Change-Id: I83ca6b5563f9a4576a49b0d70c7201491276e8ce
2023-04-09 01:09:24 +05:30
Dhina17
046c6a0f55 sm6225-common: Import common audio configs
- from hawao S2SE32.28-41-1

Change-Id: I52af44295af31ca6901bd3d71f74abf80abd5b48
2023-03-30 22:51:57 +05:30