Commit graph

168 commits

Author SHA1 Message Date
millerliang
094c57ce4a audio: add to support raw and mmap
Add to support raw-playback and mmap-playback

Bug: 165737390
Test: OboeTester->Test Output
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I2e9f530bd5d4c6d1f8d6bc3504d2fd0472631fcb
2021-03-25 15:16:36 +08:00
Carter Hsu
353818761a audio: update camcorder tuning
Change list:
    update the parameters on each module on Camcorder(enable module: IIR1,
    linear gain, Surround, IIR2, AGC, MBDRC)

Bug: 181869495
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9afc4cf202f65138d78040421a10148e2b5097b7
2021-03-25 07:09:54 +00:00
David Li
3a300b35c9 audio: add "LVM Enable" and "Decoder Reference Enable"
Turn on "LVM Enable" when the offload playback path is applied.

Bug: 180984363
Bug: 165719427
Test: make -j128
Test: test LVM effects and visualizer on offload playback on oriole
Change-Id: I5e64575ce39fe0e8d9f54913ccab9cc47da8763e
2021-03-25 03:04:18 +00:00
Carter Hsu
a38369e11c audio: update Fortemedia tables 20210323_V537
1. HA TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA, and sync to HAC-TX
2. HH TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA
3. HE no mic heaset NB/WB/SWB/FB - sync HH TX
4. TTY HCO/VCO NB/WB/SWB/FB - sync HH RX/TX
5. BT
    - BT HAC TX NB/WB/SWB/FB- sync HH TX
    - Downlink
           * Set RX PGA Gain to be 0.
               For all bandwidth NB, WB, SWB and FB.
	       For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On,  BT-HAC.
           * Merge RX BT setting to BT-HAC for NB, WB, SWB and FB.
           * Set volume to be 0dB for all volume step.  For all bandwidth NB, WB, SWB and FB.
             For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On, BT-HAC.

Bug: 174635995
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I0b9fd9e8421577c1bb07913e2740c60ed5a51b05
2021-03-24 11:26:41 +08:00
Jasmine Cha
42ba6144f5 audio:waves: update tuning table (0322)
- improving the tonal balance in the treble region

Bug:179089765 #comment13
Test: mute on/off, L/R mixed, L/R swap

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ife791670350dbfddceb420d583c487dc6ce72a68
2021-03-23 07:06:23 +00:00
yixuanjiang
3d84c1a5a9 audio: gain modify on handset-mic
Request From HW Darren and only modify on o6/r4

Test: verify by HW Darren
Bug: 182761985
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5461ed54078dce1a532b345a923530fa00ddd97f
2021-03-19 17:33:15 +08:00
YB Chiu
bff2bffb51 [MFG_API] [audio] update mixer table for usb headset gain
the usb headset gain control change to below
playback : tinymix -D 1 "Headset Playback Volume"
capture : tinymix -D 1 "Headset Capture Volume"

Bug: 182438057

Test: build pass
Change-Id: Ie66d0dfdb4975fae772be6a5d6524ad2358c7627
2021-03-18 03:06:59 +00:00
David Li
8a702b11f5 audio: add mixer_path for call screen mode 4 and hearing aid
Test: call screen mode 2 and 4, normal voice call
Bug: 165750425
Bug: 177914228
Bug: 181924779
Bug: 165753519
Change-Id: I2373dab47e54bda8b8bb9d7d4fbcde42c2f921d0
2021-03-18 02:20:28 +00:00
TreeHugger Robot
79bf7f2e01 Merge "audio: update Waves tuning for O6" into sc-dev 2021-03-16 10:27:34 +00:00
HW Lee
b51e60eca7 Merge "audio: factory: remove temporal solution of gain control" into sc-dev 2021-03-16 10:06:56 +00:00
Jasmine Cha
a473cc65f0 audio: update Waves tuning for O6
First tuning for O6 from JJP.
  - significantly improved loudness
  - low frequency extension
  - improved treble balance

Bug: 179089765
Test: audio playback - LR mix/LR swap

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I673b112ca1a8c31201308cfd0c238393edf09634
2021-03-16 14:21:09 +08:00
yixuanjiang
b765c3f825 audio: Add PDM mic enabling flexibility
fix the multi-channel recording creates fail issue

Bug: 181849225
Bug: 174448901
Bug: 176208349
Test: verify by HW Oneal
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I728ebb2633257583a245c61b559fba4ec726efd4
2021-03-12 13:59:19 +08:00
HW Lee
1fb8cfcc6d audio: factory: remove temporal solution of gain control
Bug: 182429145
Test: build pass
Signed-off-by: HW Lee <hwlee@google.com>
Change-Id: I0e3bb560c83824c71dcfe7232df43a0f563c513f
2021-03-11 09:06:55 +00:00
David Li
0a7ce9cef8 audio: add incall playback and capture to policy config and mixer path
Bug: 165750425
Test: make -j128, test call screen feature on oriole
Change-Id: I9d002359d119bc65932442d27aa5a13cc9193be0
2021-03-11 16:10:40 +08:00
Carter Hsu
4f61648333 Merge "audio: enable AAC codec for compress-offload" into sc-dev 2021-03-09 07:31:17 +00:00
rioskao
00ba8df5a4 support music_break model for whi product
Bug: 176410687
Test: test with STTAP
Change-Id: I2d109ce2e5e078173256c84b52a1e4f176fb5502
2021-03-08 10:44:34 +08:00
Carter Hsu
f8beeb1f06 audio: enable AAC codec for compress-offload
AAC_LC, AAC_HE_V1, AAC_HW_V2

Bug: 170647768
Test: AAC playback by compress-offload
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I84af6c9e8435de98ddbc4c6e8995989665c4d1ed
2021-03-08 09:42:28 +08:00
Robin Peng
cd374d8ea9 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I08376762c559b3a7fd2cd2d743d090269ed52c94
2021-03-06 16:30:54 +08:00