Commit graph

18 commits

Author SHA1 Message Date
yixuanjiang
1d13e445a9 aoc: update mixer table for voice capture V2
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
Modify the mask to map voice request

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a5bb2e6cf0beaa5695383dde9448b6fe58ae357b)
Merged-In: Id61e5ab635e612acd9a359578ec8771a1ce00cde
Change-Id: Id61e5ab635e612acd9a359578ec8771a1ce00cde
2023-12-18 23:53:01 +00:00
yixuanjiang
93db997342 aoc: update mixer table for voice capture
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
We have changed mechanism to mapping pdm mask on
voice usecase in AUD_PDM.
Modify the mask to map voice request.

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:95a27172c112c785d90b8e05cc8fbeddf796fe25)
Merged-In: Idf92d1da0df632c6410d30147725857e55cef70b
Change-Id: Idf92d1da0df632c6410d30147725857e55cef70b
2023-12-18 23:52:51 +00:00
Tai Kuo
6caaf75506 Revert "haptics: update hapitcs sink and slot setting"
This reverts commit c3a27cae53.

Bug: 278018625
Test: Check audio coupled haptics at the sound preview app.
Change-Id: I8c0b30e2ad44841d1d7ca6bb81f3f54db59176bf
2023-06-01 07:35:23 +00:00
millerliang
4581323719 audio:enable mmap and raw on BT
AoC can support mmap on BT both playback and recording
after gpar/322484.

Bug: 232205959
Test: OboeTester
Change-Id: I3f8eb8e83d95a1fb60e8f4c3ecc5ab442035aac7
Signed-off-by: millerliang <millerliang@google.com>
2023-03-29 04:14:42 +00:00
Tai Kuo
c3a27cae53 haptics: update hapitcs sink and slot setting
Bug: 270023634
Test: trigger audio coupled haptics via sound picker app
Change-Id: If61728014fa990d10b552d2a5001aa12082901d3
2023-02-28 14:31:42 +00:00
Robert Lee
bc0b6a7c01 audio: add new path for diag tools
amp1 = Top speaker
amp2 = Bottom speaker

Bug: 215307768
Test: Builds
Change-Id: Id285b89ac10d5e453b27a9bb1fa9fe8ef0a14fc6
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-24 10:08:24 +00:00
Yung Ti Su
20a9437771 audio: enable gapless offload flag
Enable gapless support on compressed_offload w/o trimming delay and padding.

Bug: 259490645
Test: manual

Change-Id: I8b1a9281d2de9c46322cbe12f9e51b9f70adecae
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-11-18 01:53:53 +00:00
Yung Ti Su
e4dd1d78a2 Recording tuning table update 6/22 - Initial Ver.
Change list :
  1. adjust IIR for flat FR in camcorder and mic path.
  2. check in the latest parameters from C10/P10

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I1038eae584efa9209f6ba28d4783457e35aa7757
2022-06-28 09:03:09 +00:00
Yung Ti Su
fd83fe7c6d correct mic id capture list
Bug: 236579372
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ia6f2a1e3ffefb5d69fb791a4b8612ba741965346
2022-06-22 06:49:06 +00:00
Yung Ti Su
8a2868771d audio: update speaker fw and bins
Change list:
L10 proto 1.1 tuning with 0520 FIR filter

Test: manual
Bug: 223513454

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iad5c01a9e2593abe764e9e996073783127b60a8a
2022-06-09 08:48:31 +00:00
Yung Ti Su
e1b4869cd8 update Boost Peak Current Limit
Due to BAACL not turned on as default

Test: manual
Bug: 232059631

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I0414e20bf6e2d1ca24d5462e66a34a888cb40496
2022-05-20 16:30:58 +08:00
Tai Kuo
1b93fdd730 haptics: enable hapitcs sink and slot setting
Bug: 220068530
Test: trigger audio coupled haptics via sound picker app
Change-Id: I08885ae97e6f47a2840680481c3f9fb56cbe3c47
2022-05-03 16:17:19 +00:00
Rios Kao
41683348a8 audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass.
Change-Id: I13f4a95ebc5323e67c6e488c87b468c6800452f0
2022-04-01 07:22:49 +00:00
Yung Ti Su
98d195091f audio: Switch 96K to 48K TDM speaker playback
Bug: 215443626
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie96eebbdce08f4092989466508a5001918a363c9
Merged-In: Ie96eebbdce08f4092989466508a5001918a363c9
(cherry picked from commit 8d2eb86893)
2022-02-23 02:30:54 +00:00
Robert Lee
d943b39116 audio: enable default 96k
Enable default 96k sample rate to fix the noise issue when enabling
96k speaker protection with 48k sample rate setting.

Bug: 206060532
Test: audio normal after device boot with speaker protection enabled
Change-Id: I6a62984c25497b38544a8463a86c30cae0a37098
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-05 09:42:34 +00:00
Yung Ti Su
8b94566230 Lower the speaker AMP Gain for 96k ASP mode
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I41fd333c7969e91f29efb74b605fcbec46650faa
2021-12-23 08:49:35 +00:00
Yung Ti Su
b28a37c992 audio: enable 96K speaker playback & correct mic2 id
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie1e4537176f6df53780f258cd9924913df476f50
2021-12-16 02:15:11 +00:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00