Commit graph

28 commits

Author SHA1 Message Date
millerliang
a85e8a9faf audio: adjust the latency for av sync result
Adjust the latency for BLE audio and others for av sync result.

Bug: 241898786
Test: Play AV sync video
Change-Id: I3ed43eac0b2e3a4d7ca9e8c8003654d3b0ba4e3a
2022-08-11 19:48:02 +08:00
Omer Osman
8ce25a8551 Add support for Opus as a BT A2DP Offload codec
Bug: 226441860
Test: Sink device using bds-dev
Change-Id: Ib7395300b01d137a5156be5bad5f311d55b03f59
2022-07-15 19:44:57 +00:00
Carter Hsu
07f215f5db audio: Enable CCA HAL module
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I78ce1fa4af4a566b2a0e54cef8945406fb6d4ad3
2022-06-23 06:29:22 +00:00
Carter Hsu
05bec92030 audio: update Fortemedia VoIP condition to reserve2
1. P10 HA Generic tuning optimize for EVT1.1
2. C10 HH NB/WB/SWB mic hardware adjustment for EVT1.1
3. P10C10 HH/HE:
    (1) Modify to mono channel in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 232349071
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1db35a5f7526c2dcb2c73997a92f0e9bc9966fa
2022-05-13 09:04:41 +00:00
Jasmine Cha
00a456a976 audio: update waves related settings
1. add throttle sensor info for waves module.
2. use default custom action for unsupported projects.

Bug: 230280648
Test: adb shell audio_waves_custom_actions_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I71aa59a43b11e7a57834e44da6793b2cfa7c76ed
2022-05-10 01:31:03 +00:00
Rios Kao
9b7f753e57 audio: add immersive playback support
Bug: 227697054
Test: build pass and pts-audio
Change-Id: Iccb1953def4a9dffaf7b9e3dd512c68ae8a37c1e
2022-04-07 02:42:39 +00:00
Rios Kao
7c61e4166e audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass and pts-audio.
Change-Id: Id0384c7af546dec1a6237e3091a366a85d097d26
2022-04-07 02:42:39 +00:00
Carter Hsu
8eb016913d audio: add recording debug files
Bug: 221964481
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I63e7dff97cd48ec337de2f70d2746e28afc19a57
2022-03-18 02:53:08 +00:00
millerliang
a4f879a3d4 audio: change format of mmap-playback to float
Bug: 201398105
Test: OboeTester
Test: atest CtsNativeMediaAAudioTestCases
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I57965faeb93f6e07f10ba8ab63d66298149bd556
2022-03-07 02:59:26 +00:00
Carter Hsu
b8102093c5 Revert^2 "audio: iS900 table release of Fortemedia"
a0982ca489

Change-Id: If70327187c71a6df3c2dc05823ba6d5a08a83eef
2022-03-02 13:09:51 +00:00
Carter Hsu
94c8478ae8 Revert^2 "audio: voip downlink to stereo"
a692a92f6f

Change-Id: I312d657be88e5fe4f4c52f649b0e84c3858a0916
2022-03-02 13:09:51 +00:00
Carter Hsu
a692a92f6f Revert "audio: voip downlink to stereo"
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev

Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia

Change-Id: Ib741e38913ab39af916f3dbb60bd08159c0d6cf2
2022-03-02 12:00:42 +00:00
Carter Hsu
a0982ca489 Revert "audio: iS900 table release of Fortemedia"
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev

Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia

Change-Id: I5bb1d1a0ba11b130f2ff56e8babf5402a135e8f4
2022-03-02 12:00:42 +00:00
Carter Hsu
b06bb3278f audio: voip downlink to stereo
Bug: 208951314
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I85c654319998e31bb846830f9878b9385ef30091
2022-03-01 06:31:49 +00:00
Carter Hsu
eb39103cd8 audio: iS900 table release of Fortemedia
Bug: 208951314
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iac83ae74ce2db1372bd0e2daeab93e96698a2ad7
2022-03-01 06:31:49 +00:00
Carter Hsu
c355b3bf5c audio: init Fortemedia table for 895
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia67f75c4945117dab59d769c762e7867fcf1ac2d
2022-01-26 06:26:09 +00:00
Jasmine Cha
cb88a232bf audio: waves: enable battery throttle(action 258)
- use the same sound mode since preset file isn't ready

Bug: 204271308
Test: lr swap/mixed, mute, bypass
 Enable throttle:
 adb shell "echo 24000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 91 > /dev/thermal/tz-by-name/soc/emul_temp"
 Disable throttle:
 adb shell "echo 26000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 79 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iab25f082210d7f43e3439b010754332f6a48e511
2022-01-25 05:25:46 +00:00
Carter Hsu
d95f875407 audio: enable decoded offload
Bug: 213020870
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I12144bdff8af2aa878f438a97a2d495c5c3d0765
2022-01-22 05:48:09 +00:00
Carter Hsu
d3bed20146 Revert "Revert "Revert "Revert "audio: enable SA lite/full module""""
This reverts commit b68bbcddda.

Reason for revert: <AoC with SA module merged>

Change-Id: Ic9ba6814c6c6e058198eab71eeb35ff267e7f599
2022-01-22 04:32:50 +00:00
Carter Hsu
b68bbcddda Revert "Revert "Revert "audio: enable SA lite/full module"""
This reverts commit c3e70c164b.

Reason for revert: <AoC is reverted in b/214259243>

Change-Id: I0e6dcd259cdb3efe7ec870bf7934da38675edb23
2022-01-14 11:45:12 +00:00
Carter Hsu
74d7fb110e audio: enable telephony input and output
Bug: 213020870
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9c56aa6905645f89b0aa5fe320ac57c2b06f45f1
2022-01-13 02:48:30 +00:00
Carter Hsu
c3e70c164b Revert "Revert "audio: enable SA lite/full module""
This reverts commit 1fa392b4b2.

Reason for revert: <AoC enables the SA module>

Change-Id: I4aaf967432b0254e3369608fa5a95cb2bd87079b
2022-01-12 09:23:09 +00:00
Carter Hsu
1fa392b4b2 Revert "audio: enable SA lite/full module"
This reverts commit d5d0e9f343.

Reason for revert: <AOC FW that supports Spatial audio capture has been reverted>

Change-Id: I18286694da289215193c3e39ad71ea4a50392a69
2022-01-06 03:42:31 +00:00
Carter Hsu
be8aaf02d4 audio: change primary output to float
Bug: 200293124
Test: build pass
Change-Id: I356376d8090da006b915e8cce9a71759ebb459e6
Signed-off-by: Carter Hsu <carterhsu@google.com>
2022-01-05 11:19:05 +00:00
Carter Hsu
d5d0e9f343 audio: enable SA lite/full module
Bug: 209687337
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I6e40321524af98441c8405a640c61ff3bc0a48cd
2021-12-23 00:56:34 +00:00
Carter Hsu
fb3354b90f audio: enable VoIP output and input
Bug: 202809763
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1a7f3aac11d4080f52e5e7ea777dde9b5bba39c2
2021-12-03 05:16:32 +00:00
Carter Hsu
bfaa490ff7 audio: enable Fortemedia and Waves
Bug: 202809763
Bug: 202809919
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I017e20f4c1375f1c63ce234f98f9c3f12d873016
2021-12-03 05:16:32 +00:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00