Poomarin Phloyphisut
407fc5eff5
[USB Audio] Enable 192k support sample rate to hifi usb
...
related cl: ag/22549253
Test: Local Test.
Bug: 198122814
Change-Id: I43e2ca3f17bd5e39f400dd86b33a7230db9574f5
2023-04-18 17:17:26 +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
yixuanjiang
f729fef8b2
audio: correct primary input ch supported am: cfc8d2aab6
am: 33aa1fbf4c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/21329203
Change-Id: I9441f51619e8f7751d60d4a4173298f0b4b3cf0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-17 12:25:16 +00:00
yixuanjiang
cfc8d2aab6
audio: correct primary input ch supported
...
Test: local
Bug: 268257291
Change-Id: Idab3dffd80a113e77e8c56969f70e9a6b4274502
Signed-off-by: yixuanjiang <yixuanjiang@google.com >
2023-02-17 10:11:29 +00:00
millerliang
669ea87ef8
audio: add missed camcorder be_cfg in dsp latency am: 926ba2baf2
am: 4fcb62c3ea
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20647612
Change-Id: Ic738f2630f691d0e6c5f754168d5fdeeccf10b70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-07 14:27:34 +00:00
millerliang
926ba2baf2
audio: add missed camcorder be_cfg in dsp latency
...
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.
Bug: 260824124
Test: Reporter verified
Change-Id: I9ee30d97971dc2499787592f8632f48ef79eae80
2022-12-07 13:40:47 +00:00
Robert Lee
c59cd4d383
audio: add new path for diag tools am: bc0b6a7c01
am: dce7fd322f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20489214
Change-Id: I62a0487ae96a9ebe273fbf96751a2ffb75002b03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-24 11:17:49 +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
6b06614454
audio: enable gapless offload flag am: 20a9437771
am: d33a908752
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20504629
Change-Id: Ib80527ea6a230be894da21dbcf200cf5e9fbbec7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-18 02:54:56 +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
Jasmine Cha
b52ad759fa
audio: waves: Playback thermal throttle am: 0dd39b7952
am: 7f27441184
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20303579
Change-Id: If64953e40e7336fd956fdd5b37b661e9e5ec1779
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-09 02:35:01 +00:00
Jasmine Cha
0dd39b7952
audio: waves: Playback thermal throttle
...
- introduce 2nd LL in presets.
Bug: 256506814
Test: manual test
Change-Id: Id5d2635ac45c51ad5d65ac517830fb692831ca2b
Signed-off-by: Jasmine Cha <chajasmine@google.com >
2022-11-09 01:24:27 +00:00
Yung Ti Su
c3e069b0fb
audio: Phase in audio_policy_volumes.xml in L10 am: d0037da39b
am: 2f43af41cb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20362588
Change-Id: Ie0ac53ca2d76c07d86c93bc70f1deb58db54464b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-04 16:41:25 +00:00
Yung Ti Su
d0037da39b
audio: Phase in audio_policy_volumes.xml in L10
...
I put refine volume curve file in the attached file.
This new tuning slightly increase 10th~20th volume step loudness.
It fixes user's bug "16th volume step loudness is quiet compared to B3".
Files from the latest attachment on b/257197305
Bug: 254569854
Bug: 257197305
Test: verified by supery@
Change-Id: I2f0d887da27b898259209afe33d578471b308589
2022-11-03 15:51:55 +08:00
millerliang
bae98c98e3
audio: ajdust the latency for av sync am: f5650be347
am: abda6ea7ee
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20189949
Change-Id: Ica855c3199854a71fc0fb80f03ba0bdd833744fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-17 04:05:35 +00:00
millerliang
f5650be347
audio: ajdust the latency for av sync
...
Bug: 239764985
Test: Verify the AV sync result
Signed-off-by: millerliang <millerliang@google.com >
Change-Id: I3cc8087f6e81a0cb7368fc2df23d7e3aee6851f5
2022-10-17 02:00:34 +00:00
Carter Hsu
df14022010
audio: allow Fortemedia to notify setting to CCA am: 8e8d9e5c7a
am: 01c017493c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20002671
Change-Id: Ib4d29c4cefb9dab50e6b8caaf2011cca84541696
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 04:07:06 +00:00
Carter Hsu
8e8d9e5c7a
audio: allow Fortemedia to notify setting to CCA
...
Bug: 237720492
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com >
Change-Id: I9946644bbf213dc9dc7226cc684923ac7eb53351
2022-09-23 02:53:09 +00:00
vincenttew
67b6940e7c
audio: extand the period number of hifi usecase am: afbec8c62b
am: 50949b5e94
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19991928
Change-Id: I8293e3a72a9a144f94661e76c8e6bffbbcf7b9ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-20 16:32:21 +00:00
vincenttew
afbec8c62b
audio: extand the period number of hifi usecase
...
extend this to prevent alsa trigger stop playback
and causing pop
Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com >
Change-Id: If9866a5755178a7c76b22dcbd75b9b9e1dc87620
2022-09-20 15:20:09 +00:00
Carter Hsu
1d2c720c1e
audio: enable USB clock boost on SWB voice-call am: 04d3f9c903
am: e1657422b9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19873286
Change-Id: I00e4a0c7cd987e18635d6793de8507e2c219c717
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-14 01:55:47 +00:00
Carter Hsu
04d3f9c903
audio: enable USB clock boost on SWB voice-call
...
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com >
Change-Id: I57f4b31c4afdbeede7556abc1a65adab66a7541a
2022-09-14 01:05:30 +00:00
Yung Ti Su
0c02b01510
audio: Phase in fortemedia tuning tables and platform configuration file am: b85cfe1614
am: 731bf307cc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19673383
Change-Id: Ic42cf89d62d8e08c94f6c8fb1ae9d6775f634078
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 14:37:26 +00:00
Yung Ti Su
b85cfe1614
audio: Phase in fortemedia tuning tables and platform configuration file
...
Change List :
Fortemedia:
Handset :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RLR/SLR)
CCA light FNS to generic/TMOUS NB/WB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC / HAC Reserve 2 SWB
Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RFR/RLR/ECDT)
CCA light FNS to NB/WB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB
SS to Reserve2 SWB (FFP off, stereo on, RX setting to RX2)
Headset :
sync P10 20220818 version
Bluetooth :
sync P10 20220818 version
Platform configuration :
Add for CCA
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
<module libname="audio_cca_aoc.so"/>
Modify for SS
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>
Files from the latest attachment on b/243344253
Bug: 243344253
Test: verified by hardware engineers
Change-id: I57e897a1ee9c8dab2ace0051d148c36639911bd6
2022-08-22 08:41:07 +00:00
David Li
70873d95bb
audio: Phase in Waves mps file and volume curve audio_policy.xml file am: 1db103ba10
am: 044db175b9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19633809
Change-Id: I7958edabd515280be0fa357d8d001361a28c3232
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 12:16:02 +00:00
David Li
1db103ba10
audio: Phase in Waves mps file and volume curve audio_policy.xml file
...
I put L10 EVT tuning files in the attached file.
L10 EVT HW modify Proto speaker.
I need to re-tune mps file.
I base on EVT speaker make this mps file tuning.
And slightly lower volume step 21th to let volume curve smoothly.
So, I modify audio_policy.xml file.
Files from the latest attachment on b/242521368
Bug: 242153654
Bug: 242521368
Test: verified by hardware engineers
Change-id: Ide63f88ee7aa55f4b79c53de2d70314bc20ab285
2022-08-16 10:05:27 +00:00
Yung Ti Su
59d936c041
add support for BLE Broadcast output am: fb9da3e3b5
am: 868e9691b4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18841365
Change-Id: I5047fb9f5716d0bff30c41b8127b31f7ab87d09f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-05 16:42:17 +00:00
Yung Ti Su
fb9da3e3b5
add support for BLE Broadcast output
...
Bug: 210987580
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I544636e4fac94142b06aa38d4c0957de36f0ebea
2022-08-04 03:38:21 +00:00
Jasmine Cha
d1ef006111
audio: enable BAACL (amp only) am: 6f3b7806be
am: ea432b335c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19340118
Change-Id: I55f84b18f3e46e5383efd878218c98a130e9114c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-26 03:43:59 +00:00
Jasmine Cha
6f3b7806be
audio: enable BAACL (amp only)
...
Bug: 227715448
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com >
Change-Id: I4f86f3744a7aeaaf67764d8db7f9c2641ca62a83
2022-07-26 02:09:52 +00:00
Yung Ti Su
6706afc0bc
add the missing audio_policy_configuration_le_offload_disabled.xml back
...
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I28286331bcbff5cff2ecdd772eb564dfde554217
Merged-In: I04fc1306eb15ea2ae102f65b59c1b1cca2070dd1
2022-07-15 11:27:32 +08:00
Jakub Tyszkowski
cd63701eb0
audio: Enable Le Audio SW LC3 coding
...
Since the Le Audio HW offloader enable/disable control flag
controls Unicast and Broadcast at the same time, we need them
both to work either with HW or SW audio coding paths.
This patch enables software encoding audio path on unicast.
This is the only way to make unicast and broadcast to interact,
since the HW offloader for Braodcast is not yet ready.
Bug: 238997591
Fixes: 238997591
Tag: #feature
Test: atest BluetoothInstrumentationTests
Change-Id: I04fc1306eb15ea2ae102f65b59c1b1cca2070dd1
2022-07-15 02:05:24 +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
59db776134
add EP ID settings for mfg
...
ag/18185767 corresponding to the change in mixer command
Bug: 235866657
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I4417096aa337f07d5bd526c51db6b2da7d2068db
2022-06-17 06:18:57 +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
a14291738e
sync the audio_policy_configuration with P10
...
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I6120c69a27611c62000f6921bcb08e3a70860152
2022-06-07 12:30:44 +00:00
Yung Ti Su
f97834d593
L10 initial tuning for Waves
...
Change list:
For waves_preset.mps
It increases top speaker excursion and reduce temperature to get better performance.
For audio_policy_volumes.xml
It changes volume curve to accompany with waves_preset.mps, which helps to get linear volume curve.
I also change DTMF, Ringtone, System sound volume curve to satisfy user expectation.
Bug: 234094724
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I085089de96d366480c70da6d86e6d7983033a631
2022-05-30 13:30:19 +08: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
Carter Hsu
55508dcd79
audio: allow mmap-record to set dsp volume
...
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com >
Change-Id: Ide33b33103165f8af7ed57cd033f7ee499a7edc8
2022-05-11 03:00:58 +00:00
Yung Ti Su
bfbc6e2545
L10 1st version of fortemedia tuning table
...
Change List :
sync P10 20220422 version
Bug: 230558942
Test: build pass
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I15774cf0f5dc689a10c334025f3b120ebec62b85
2022-05-06 09:42:46 +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
Yung Ti Su
c08b889498
factory: add usb_headset_mic support for MFG_API
...
Bug: 214585271
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: Ieba43e651dbc06778849a03768d256f75a10ebef
2022-01-25 05:38:53 +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