Commit Graph

155 Commits

Author SHA1 Message Date
BubbleFang 1efd6aa17f audio: update audio_platform and mixer for HAC
mixer : add HAC RX routing "voice-hac-handset"
audio platform:
add => <device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" interface="QUIN_TDM_RX_0"/>
add => Spirent sim detect
modify=> <device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="56"/>
modify=> <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" acdb_id="41"/>
modify=> <device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="4"/>

Bug: 146398789
Test: Local test
Change-Id: I3a8de25d94298877cc9ada809d5ace667e444a75
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 15:21:23 +08:00
BubbleFang 772e7f58d4 audio: update ACDB tables
1. Camcorder update : ID 61~66  (Modify by Chilin and Darren)
- remove the sampling rate 96k & 192k
- Add a new topology named GTW_SURAZ
- GTW_SURAZ includes IIR-->MicGain-->SURREC-->IIR-->AGC-->MBDRC
- Change the apptype : general recording & compreeed offload 24 bits from Audio TX Stereo to GTW_SURAZ
- change the channel# from 2 to 3
2. Waves version update (v3.1.1050209.2.12.0)
3. Remove VOIP audio stream IIR module : fixed right channel no sound issue

Bug: 146316348
Test: Local test

Change-Id: I67f87a4a9c5f8fca0752cb496c88f648bef9efd4
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 15:21:20 +08:00
TreeHugger Robot 53b392ce54 Merge "audio: cs35l41: update speaker prot bins" into qt-qpr1-dev
Change-Id: Ie75d035f345a052bc9aec500a458410cda2535dd
2020-05-29 15:21:11 +08:00
HW Lee 3d5140c02b audio: cs35l41: update speaker prot bins
Bug: 145298681
Test: build pass
Change-Id: I172167c0d3268377f41fa09f0b12969d338d2219
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 15:21:11 +08:00
TreeHugger Robot 31d039ab00 Merge "audio: update audio_platform and mixer for TTY" into qt-qpr1-dev
Change-Id: I9ea5d2751ef39a6543c6fe3895952c072a556dcc
2020-05-29 15:21:09 +08:00
yixuanjiang ea026a868a audio: update audio_platform and mixer for TTY
Bug: 145647615
Change-Id: I070c26dc985b72c39f0802aa79a8953a93c63d98
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2020-05-29 15:21:09 +08:00
BubbleFang 990def9f2c audio: update ACDB tables
Changelist:
1. Update TTY/HE/HAC parameter
2. Update TTY HCO /HE volume curve

Bug: 145785222
Test: Local test

Change-Id: I01eb49e4e87203969a0cae8f2190756dff2183d0
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 15:21:08 +08:00
Jason Hsu 1c3fbf6bf6 acdb: update acdb files
1. Handset NB/WB/SWB/FB  for P1.1 panel speaker tuning
2. ID 61~66
   - Remove sampling rate 8kHz, 16kHz, and 32kHz.
   - Change the TOPOLOGY in APPTYPE - COMPRESS_OFFLOAD_24BIT
from GTW_SURAZ to AUDIO_TX_STEREO_COPP
   - Change the TOPOLOGY in APPTYPE - RECORD_24BIT & RECORD_32BIT
from AUDIO_TX_STEREO_COPP to GTW_SURAZ
   - Update the parameters in TOPOLOGY - GTW_SURAZ

Bug: 151387242
Change-Id: Iff958b27f93847e6362fc9f23c7c0eed400872d6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Test: verified by H/W
2020-05-29 11:26:30 +08:00
justinweng c99bb6e69d redfin: audio: support audio zoom topology.
Bug: 151126169
Test: Verify by H/W

Change-Id: I5faf95eec683fae4d01c3ce3006ef895b278264f
Signed-off-by: justinweng <justinweng@google.com>
2020-05-29 11:26:29 +08:00
yixuanjiang 0695191969 acdb: update acdb files
1. modify the topology for recording path
2. adjust the mic degrade/dead threshold parameters
3. speakerphone mode SWB TX tuning update
4. update BVE tuning for speaker phone mode
5. update mic distance calibration

Bug: 150747438
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5c2d38c64b86d17c9421ba8b524cc522f791b1c5
2020-05-29 11:26:28 +08:00
TreeHugger Robot 9efa963056 Merge "audio: update audio table" into qt-qpr1-dev
Change-Id: I1bf21b8c6a4242e082ddc5f9f3e987c75f8b00f9
2020-05-29 11:26:27 +08:00
vincenttew f2e94edfb1 audio: update audio table
change list:
1. changing VOIP EC ref to TDM-RX for HA/HH/HE
2. Add ec reference in VOIP headset

Test: build pass
Bug: 145244105
Bug: 149545927
Change-Id: I2fbdb51f733f6afa6bc1abcf3e6e45dc3e93c0b8
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 11:26:26 +08:00
HW Lee e79eb34888 audio: acdb for FM mic break detection
Bug: 149715971
Test: build pass
Change-Id: I040819e9b18d9ef3f1789a6f7cc13c939f8c15cd
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 11:26:23 +08:00
TreeHugger Robot e54ecf2e35 Merge "audio: update audio table" into qt-qpr1-dev
Change-Id: I3c7787c8905ce9cfc4803361727e780f3317c308
2020-05-29 11:26:13 +08:00
vincenttew 2ccc2e97d5 audio: update audio table
Changelist:
1. Modify VOIP Handset SND name

Bug: 147470422
Test: build pass
Change-Id: Ia7b4534e81384b590223cbde7e70457ece15b7bb
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 11:26:12 +08:00
yixuanjiang ad034d4881 audio: add back 5514 switch control for micbias use
Bug: 147567469

Revert "audio: rt5514: keep sto mixer control on"
This reverts commit 96a24b52f7.
Change-Id: Id586695eeaaa3ac6bcd5b4a6cded9e7c6e3e9f1e
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2020-05-29 11:26:11 +08:00
Robert Lee 9491cdf250 audio: fix resume music no sound after ringtone playback
Bug: 146538232
Test: Youtube resume has sound after reject incoming call
Change-Id: Ic675ed57d4f683ed048e605c405ff2495394aa29
Signed-off-by: Robert Lee <lerobert@google.com>
2020-05-29 11:26:06 +08:00
TreeHugger Robot 534ea8b39c Merge "audio: modify the mixer table to fix apply cal data for the second time." into qt-qpr1-dev
Change-Id: Ib4fbfb1a35c4d31723af688a91c374d751c3d606
2020-05-29 11:26:05 +08:00
juyuchen d6f3c64595 audio: modify the mixer table to fix apply cal data for the second time.
Bug: 144005610
Test: manual audio tests

Change-Id: I6d34ed344ecc0fcf69e5bcb9282bcfb736d22557
Signed-off-by: juyuchen <juyuchen@google.com>
2020-05-29 11:26:05 +08:00
Jason Hsu 936b584d8a acdb: update acdb files
Changelist:
1. Handset Tuning: NB/WB/VoIP
2. Handsfreee Tuning: NB/WB

Bug: 147334935
Test: built pass
Change-Id: Id54ace2541262e6628457ebb10607d431469bd9e
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2020-05-29 11:26:04 +08:00
Yung Ti Su 3950ac74c6 acdb: remove dynamic Waves library
20191223_modify_Waves

Bug: 146596382
Test: push into device with ADSP patch and
      passed Waves effect basic tests.

Change-Id: I775d2c26474c68ce202821839f00d513efb5e851
Signed-off-by: Yung Ti Su <andysu@google.com>
2020-05-29 11:25:37 +08:00
BubbleFang ef8395aa9b audio: update audio_platform and mixer for HAC
mixer : add HAC RX routing "voice-hac-handset"
audio platform:
add => <device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" interface="QUIN_TDM_RX_0"/>
add => Spirent sim detect
modify=> <device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="56"/>
modify=> <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" acdb_id="41"/>
modify=> <device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="4"/>

Bug: 146398789
Test: Local test
Change-Id: I3a8de25d94298877cc9ada809d5ace667e444a75
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 11:25:32 +08:00
BubbleFang 8d796fe008 audio: update ACDB tables
1. Camcorder update : ID 61~66  (Modify by Chilin and Darren)
- remove the sampling rate 96k & 192k
- Add a new topology named GTW_SURAZ
- GTW_SURAZ includes IIR-->MicGain-->SURREC-->IIR-->AGC-->MBDRC
- Change the apptype : general recording & compreeed offload 24 bits from Audio TX Stereo to GTW_SURAZ
- change the channel# from 2 to 3
2. Waves version update (v3.1.1050209.2.12.0)
3. Remove VOIP audio stream IIR module : fixed right channel no sound issue

Bug: 146316348
Test: Local test

Change-Id: I67f87a4a9c5f8fca0752cb496c88f648bef9efd4
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 11:25:30 +08:00
TreeHugger Robot 73ab12f86c Merge "audio: cs35l41: update speaker prot bins" into qt-qpr1-dev
Change-Id: I72da5e4d9a07f18ebc37692a770281cb55d48d46
2020-05-29 11:25:25 +08:00
HW Lee d577097b10 audio: cs35l41: update speaker prot bins
Bug: 145298681
Test: build pass
Change-Id: I172167c0d3268377f41fa09f0b12969d338d2219
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 11:25:25 +08:00
TreeHugger Robot f681a3dbc7 Merge "audio: update audio_platform and mixer for TTY" into qt-qpr1-dev
Change-Id: I38d4c9ba2952433845b029ee4645fa1dc3a6800a
2020-05-29 11:25:24 +08:00
yixuanjiang 66d2cb0952 audio: update audio_platform and mixer for TTY
Bug: 145647615
Change-Id: I070c26dc985b72c39f0802aa79a8953a93c63d98
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2020-05-29 11:25:24 +08:00
BubbleFang c18100d69e audio: update ACDB tables
Changelist:
1. Update TTY/HE/HAC parameter
2. Update TTY HCO /HE volume curve

Bug: 145785222
Test: Local test

Change-Id: I01eb49e4e87203969a0cae8f2190756dff2183d0
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 11:25:23 +08:00
Jason Hsu 226c851263 audio: update platform_info table and mixer path table
Bug: 145244105
Test: built pass
Change-Id: I04647f494ceb5800684a65ca3546874c9da59fcd
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-12-05 16:16:58 +08:00
Yung Ti Su 85937a1e63 update acdb: 20191128_baseon1127_test_2_4_modify_HA_thisversion
fix RTC cannot set parameter problem

Bug: 143509879

Test: manual

Change-Id: I54644c1e171fa94908cd6e25c9bad632eb4338c0
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-28 17:38:42 +08:00
TreeHugger Robot 0c2c0e658b Merge "audio: update cs35l41 B0 and B2 firmware and bin files." into qt-qpr1-dev 2019-11-25 08:39:29 +00:00
TreeHugger Robot 77a67e28ca Merge "audio: update audio_platform and mixer" into qt-qpr1-dev 2019-11-25 04:02:27 +00:00
yixuanjiang ca9fc2e936 audio: update audio_platform and mixer
1. sync acdb setting
2. add echo ref for voip case

Bug: 144979768
Test: local
Change-Id: I638dd7d89d4693541ff0b4e79e4054aa0a497498
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-22 11:46:42 +00:00
Yung Ti Su 8087252ee5 Merge "acdb: B5_ACDB_V0_20191031" into qt-qpr1-dev 2019-11-22 08:24:00 +00:00
Yung Ti Su 6d261c5758 Merge "For Waves effect module does not support Four channels" into qt-qpr1-dev 2019-11-22 08:22:37 +00:00
Yung Ti Su d6933bc9a8 acdb: B5_ACDB_V0_20191031
including Waves effect and Fortemedia effect module

Bug: 143509879

Test: manual

Change-Id: I61392e92d2b79bce6de757e76092b14d927d890c
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-19 07:54:46 +00:00
Yung Ti Su bd24ffb345 For Waves effect module does not support Four channels
We should use two channels

Test: manual

Change-Id: I49e82f8d49ef0bc305574c7a8d0c8a83421f14af
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-19 06:32:29 +00:00
vincenttew a32e3dc99c audio: update audio routing table
changelist:
3. correct BT feedback pcm device

Test: build pass
Change-Id: I7a75ccd1be4426edede3507c3beb2030d4c800f5
Signed-off-by: vincenttew <vincenttew@google.com>
2019-11-15 20:43:02 +08:00
juyuchen 41c9561449 audio: update cs35l41 B0 and B2 firmware and bin files.
Bug: 140461525
Bug: 143266999
Test: manual audio tests.

Change-Id: I9e1f25f5ac743eeaf456afb7048c9dba27dce7c6
Signed-off-by: juyuchen <juyuchen@google.com>
2019-11-12 17:30:28 +08:00
juyuchen 2307ac9847 audio: update tables
1.
Set correct pcm ID to QUIN_TDM hostless playback and capture.

Bug: 144005527
Test: manual audio tests.

Change-Id: I11f9ac5763da88807c97660066f429c947badabd
Signed-off-by: juyuchen <juyuchen@google.com>
2019-11-08 14:52:21 +08:00
yixuanjiang 96a24b52f7 audio: rt5514: keep sto mixer control on
SoundTrigger pcm will be turn off if sto mixer control turn off
Keep control on to prevent this issue

Bug: 143448328
Change-Id: I0a482fe9060a8d997b0b6cb2a9911d90ea844a8b
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-06 09:51:08 +08:00
yixuanjiang 14e5f0332b audio: update mixer table for voice, record and backend name
Test: built passed
Change-Id: I66644b5a457b5e5169ec0d9f2a9169fc764a4f65
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-04 16:36:22 +08:00
Jason CH Hsu b50e85e864 Merge "audio: update table" into qt-qpr1-dev 2019-11-04 03:32:03 +00:00
TreeHugger Robot a2c88858eb Merge "audio: update firmware and bin files for the cs35l41 B0 hardware" into qt-qpr1-dev 2019-11-03 21:56:29 +00:00
juyuchen ce15fdb3a2 audio: update table
Bug: 142838853
Test: manual audio tests.

Change-Id: Id072a755310a45b37ef0688a16a7c52bb94422cc
Signed-off-by: juyuchen <juyuchen@google.com>
2019-10-31 21:38:04 +08:00
juyuchen f4b2883a05 audio: update firmware and bin files for the cs35l41 B0 hardware
Bug: 142939391
Bug: 140461525
Test: manual audio tests.
Change-Id: I037c0aec0469857122b0f580fb1d0a4c9ec6649b
2019-10-22 11:06:49 +08:00
BubbleFang d8d5a2bb1f draft acdb for temporarily enable speaker
changing the default acdb device id 15 & 124(dec)
AFE topology from v3 to NONE

Bug:  142388386
Test: manual

Signed-off-by: BubbleFang <bubblefang@google.com>

Change-Id: Ie5869a39f0569f479a184a25351f679781973bb9
2019-10-14 16:16:33 +08:00
juyuchen 6bc8895950 audio: configure left and right cs35l41 chips.
1.
left amp fetchs left channel and right amp fetchs right channel data.

2.
set Tx slot channel 0 to left amp dsp output and Tx slot channel 1 to
right amp dsp output.

3.
set the rx source of left amp dsp mode to ASPRX1 and set the rx
source of right amp dsp mode to ASPRX1.

Bug: 141737414.
Test: manual audio tests.

Change-Id: I8ba718529b8c3b36269eb89da2431aa999ebb1d8
Signed-off-by: juyuchen <juyuchen@google.com>
2019-10-01 15:02:04 +08:00
yixuanjiang e894ee7ec5 audio: update mixer path for recording part
1. Update record path
2. Add default value for quin rx to multimedia

Bug: 140003350
Change-Id: I1ebac2e050af6c12853f531ffa3bdce991e668bd
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-09-24 15:12:53 +08:00
Jason Hsu 0962809041 audio: add cs35l41 firmware and bin files into vendor/firmware
Bug: 140461525
Test: build pass

Change-Id: I263e1ea789a228acb7599fc8a3e99f29c3e9daa9
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-09-20 18:12:57 +08:00
Jason Hsu ef2906ef40 audio: rename audio_platform_info.xml and add cs35l41 fw and bins.No.2
Bug: 140462305
Test: build pass

Change-Id: Iaad9ffeefa96462c4f735056be5b2efcc2bc7df1
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-09-18 20:47:00 +08:00
Jason Hsu fa7007acad audio: copy audio table from qcom default and remove unuse file No.3
Test: load audio hal
Bug: 140216758
Test: Manual built
Change-Id: I7365fabb3535e627b7f64618647f791e32270abe
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-09-16 12:25:46 +08:00
ChengYou Ho a7e0f4632c Update to latest and remove common part
to common folder

Bug: 140363359
Change-Id: I9319e1451dbccc9d19568bf4ae4719b2d04450eb
2019-09-10 10:59:47 +08:00
Wilson Sung d2f93f8ab8 Add audio config fix audioserver crash
Bug: 139107810
Change-Id: I182e29fb0d6b22858932c8c7cc26ca787a32464d
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2019-08-30 14:34:17 +08:00
yixuanjiang 19e5030769 audio: rt5514: update firmware files
Bug: 140003350
Test: verify soundtrigger model
Change-Id: I8c68143373983358d286aa8f8e487636fdb7cf62
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-08-28 12:19:20 +08:00