summaryrefslogtreecommitdiff
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* ALC5514fw_Google_Music_v2182Yung Ti Su2020-09-164-0/+0
| | | | | | | | Bug: 150634503 Test: manual Signed-off-by: Yung Ti Su <andysu@google.com> Change-Id: I5dbfcbd98d595e5a184db1f90af898c2e8426141
* audio: cirrus: profile releaseJason Hsu2020-04-013-0/+0
| | | | | | | | | | [Cirrus bin] tune speaker model to reduce excursion to 0.27mm Bug: 151796899 Test: verified by H/W Signed-off-by: Jason Hsu <jasonchhsu@google.com> Change-Id: I6adc45bff730f8ad6de38d1f401b29c4485b6f38
* rt5514: update firmware for video recording noiseYung Ti Su2020-03-062-0/+0
| | | | | | | | | | | | | | | | | | | | | | v1754 Original Fw: When dsp on for hotword detecting, the audio circuit is always clocked by internal oscillator no matter I2s recording is enabled or not. Therefore, an SRC function has to enable to fix the asynchronous issue when we need I2s recording. And it would induce extra noise. New Fw (v1754): When dsp on for hotword detecting, the audio circuit is clocked by internal oscillator when I2s recording is disable. On the other hand, it switches to external clock(I2s_sclk) when i2s recording is enabled. As I2s recording is enable, SRC function is not needed since the audio clock is synchronous to I2s clock. Regarding to the dmic clock rate, 2.048MHz is used when dsp on and i2s recording is enabled. The reason is as below. There are two main functions which using same Dmics, one is for hotword detection(fs=16kHz) and the other is for I2s recording(fs=48kHz). Bug: 142289498 Test: manual Change-Id: Id2b101477ae2a6ab1ceb192edc1fe9993faa0337 Signed-off-by: Yung Ti Su <andysu@google.com>
* Merge "rt5514: update firmware for Android Q Models v3" into qt-qpr1-devYung Ti Su2019-12-184-0/+0
|\
| * rt5514: update firmware for Android Q Models v3Yung Ti Su2019-12-184-0/+0
| | | | | | | | | | | | | | | | | | | | v1597 Bug: 144170151 Test: manual Change-Id: Iab4c3a7f82499480c1fa02718267ffb70adce82d Signed-off-by: Yung Ti Su <andysu@google.com>
* | audio: cirrus: profile releaseJason Hsu2019-12-171-0/+0
|/ | | | | | | | | | | [CS35L36] 1. Reduce bottom speaker output voltage around 1dB. Bug: 146404644 Test: Built pass Change-Id: Iae35b99c2c68ed6cf29a32b8f180665febcc5713 Signed-off-by: Jason Hsu <jasonchhsu@google.com>
* update rt5514 firmware: fix for background noise on video recordingYung Ti Su2019-10-312-0/+0
| | | | | | | | | | | | | | v1339 Based on the v926, we only enabled the filter power AD1, but the related clock settings were not aligned. The root cause was that the AD1 clock tracking was not enabled. Bug: 142289498 Test: manual Change-Id: I8bb00d0144ec500ad0083d56aa84abbbebe0fd85 Signed-off-by: Yung Ti Su <andysu@google.com>
* audio: update rt5514 firmware for Android Q models v2Yung Ti Su2019-07-053-0/+0
| | | | | | | | | | v1019 Bug: 135756211 Test: local Change-Id: Ib25b02d37931abd820764529f0296833d39a5e9c Signed-off-by: Yung Ti Su <andysu@google.com>
* audio: update rt5514 firmware for change firmware addressJason Hsu2019-06-212-0/+0
| | | | | | | | | | | | Increase memory for hotword model by 4KB. v981 Bug: 135728187 Test: local Change-Id: I402ef71e7e8fe5a01e0fbb5aa0b2808ea60de60b Signed-off-by: Jason Hsu <jasonchhsu@google.com>
* audio: update rt5514 firmware for fixing speaker phone TX no sound problemYung Ti Su2019-06-041-0/+0
| | | | | | | | | | | | | | Enable the missing power of I2S recording modify the registers 0x18002014 from 0x34825541 to 0x35825541 during I2S rec mode v926 Bug: 134365897 Test: local Change-Id: I7724d8f7b381df14c52fea641cdfa169558d3733 Signed-off-by: Yung Ti Su <andysu@google.com>
* audio: update rt5514 firmware for concurrent capture and sound model 190524Yung Ti Su2019-05-304-0/+0
| | | | | | | | | | v892 Bug: 133449767 Test: local Change-Id: I547e6968e8fe39a4582571eff67e7d96e4b0b636 Signed-off-by: Yung Ti Su <andysu@google.com>
* audio: update rt5514 firmware hotword modelvincenttew2019-04-104-0/+0
| | | | | | | Bug: 129489881 Test: build pass Change-Id: I4afc2b76992716dd14bdc74962e158baf528c139 Signed-off-by: vincenttew <vincenttew@google.com>
* Update new rt5514 firmware with new detection algoyixuanjiang2019-01-284-0/+0
| | | | | | | | BUG: 123245572 BUG: 121106548 Test: local test Change-Id: I2fe70793c57c34ab3e18965b3f2411fad98a9198 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* audio: update rt5514 firmware for soundmodel controlyixuanjiang2019-01-234-0/+0
| | | | | | | | | supporting sound model data updating Bug: 121106548 Test: local_test Change-Id: I9ab2a98d59c4f0bd9345c96ca11fa838006c82f4 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* audio: tuning releaseHW Lee2018-12-242-0/+0
| | | | | | | | | | | | [CIRRUS] 1. fine tune top/btm speaker model for best quality in B4 [audio policy] 1.fine tune volume step in alarm, notification and ring. Bug: 121308605 Test: basic functions manually Change-Id: I9dde794721ab2835ec44065653ac9fae361501f9 Signed-off-by: HW Lee <hwlee@google.com>
* audio: tuning releaseHW Lee2018-12-172-0/+0
| | | | | | | | | | | | | [Cirrus profile] 1. fine tune top/btm speaker model for best quality in S4 [volume curve] 1. fine tune volume step in "AUDIO_STREAM_MUSIC" Bug: 121115832 Test: basic functions manually Change-Id: I3eaf9f75605c77d4e53314ad52a7fd5c933e7e21 Signed-off-by: HW Lee <hwlee@google.com>
* bonito: audio: update rt5514 firmware for soundtrigger pcm issueyixuanjiang2018-12-102-0/+0
| | | | | | | | | | 1. Change mulaw encoder algo 2. Reduce gain boost from 24dB to 3dB 3. fix for 3sec noise issue Bug: 118859998 Change-Id: I4d00b2c067f8b185900dc89f4a09b0eebd1b36d7 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* audio: cirrus: profile releaseHW Lee2018-11-164-0/+0
| | | | | | | | | | [Cirrus bin] fine tune top/btm speaker model for best quality Bug: 119532878 Test: Basic functions Change-Id: I5c01ec2e892946f19f06c8aea539c615b67a854b Signed-off-by: HW Lee <hwlee@google.com>
* bonito: audio: update rt5514 firmware for power purposeyixuanjiang2018-09-112-0/+0
| | | | | | | | | Reduce clk to 768kHz on soundtrigger mic for power purpose. Test: local test and meature by HW Bug: 113370440 Change-Id: Iaf16516d5fabda008e0e9702f57b920df2529494 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* audio: b4s4: mixer table and cirrus tuning profileHW Lee2018-08-294-0/+0
| | | | | | | | | | | | | | | | | [mixer path] 1. Change speaker gain setting - R AMP PCM Gain: 17 - AMP PCM Gain: 17 - remove "Digital PCM Volume: 740" 2. modify handset-mic setting [Cirrus table] 1. update first version speaker model Bug: 113371423 Test: local build Change-Id: Iafe0508ac65781c2c1b6e57ef6258ce93d423295 Signed-off-by: HW Lee <hwlee@google.com>
* bonito: add soundtrigger firmware for soudtrigger supportyixuanjiang2018-08-273-0/+0
| | | | | | Bug: 112517244 Change-Id: Ic9c73130b197d56a6a718fa184a6865e8b1510bc Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* audio: bonito: change the filenameHW Lee2018-08-074-0/+0
| | | | | | | | | To match the updated snd card name. Test: local build Bug: 112018755 Change-Id: I3efd909251301859b12c65eda8c9da77e9326b77 Signed-off-by: HW Lee <hwlee@google.com>
* bonito and sargo: initial device supportRoger Liao2018-07-1226-3/+3
| | | | | | Bug: 111163725 Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da Signed-off-by: Roger Liao <rogerliao@google.com>
* audio: apply Waves static libraryJasmine Cha2018-05-305-17/+0
| | | | | | | | | | | | | - remove definition of waves library in ACDB - move prebuilt and tables to vendor/google_device Bug: 80418747 Bug: 74360112 Test: build pass and check Waves effect Change-Id: Ifbd67d196dc7d059625a36505de0b7fd410d783c Signed-off-by: Jasmine Cha <chajasmine@google.com>
* Merge "audio: Fix issue with squeeze noise" into pi-devTreeHugger Robot2018-05-296-0/+72
|\
| * audio: Fix issue with squeeze noiseDavid Lin2018-05-256-0/+72
| | | | | | | | | | | | | | | | | | This patch updates the squeeze noise tuning from the audio team. Bug: 80106497 Test: manua audio test Change-Id: I532e179fa57f4f8c4c2a34efa91ea2c981f02a87 Signed-off-by: David Lin <dtwlin@google.com>
* | audio: update Waves ADSP libraryJasmine Cha2018-05-291-0/+0
| | | | | | | | | | | | | | | | | | | | | | - version 7.6.1.09 - fix for correct work with QACT in RTC mode Bug: 80411456 Test: verify Waves function (playback/LR swap) Change-Id: I63dc8b865b94b1e3725d54e9cbdd8f79a22c8d4b Signed-off-by: Jasmine Cha <chajasmine@google.com>
* | audio: update Waves TablesJasmine Cha2018-05-282-0/+0
|/ | | | | | | | | | - The MPS update fixes the LR swap issue. Bug: 80376948 Test: test LR swap function Change-Id: I8476bc703e04c1249ea6eaf52eb2954c5e76c18b Signed-off-by: Jasmine Cha <chajasmine@google.com>
* audio: update ADCB and Waves tablesJasmine Cha2018-05-243-1/+1
| | | | | | | | | | | | - add Waves topology in ACDB - update Waves preset tables - fine tune voice/VoIP quality Bug: 74360112 Test: audio manual test Change-Id: I603ee16414ed0083115863ec2f775ce5139b5c13 Signed-off-by: Jasmine Cha <chajasmine@google.com>
* Merge "audio: Update Waves library" into pi-devBubble Fang2018-05-225-0/+17
|\
| * audio: Update Waves libraryJasmine Cha2018-05-215-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - support config file (speaker, speaker-safe, usb-headset) - update prebuild library - use different mps files for crosshatch/blueline Bug: 74360112 Bug: 79532958 Test: manual test (audio basic functions) Change-Id: I6dcb3c6c93b63b004f3e4c0b0b67e22b1e292fbc Signed-off-by: Jasmine Cha <chajasmine@google.com>
* | audio: update cirrus tuning profilejuyuchen2018-05-227-2/+65
|/ | | | | | | Bug: 80106497 Test: manual audio test on B1/C1 Signed-off-by: juyuchen <juyuchen@google.com>
* audio: add MAXXAUDIO effectjasmine cha2018-05-044-0/+0
| | | | | | | | | | | - add MAXXAUDIO prebuild library and tables - only copy one adsp_avs_config.acdb(b1 and c1 are the same) - enable ro.audio.monitorRotation Bug: 74360112 Test: Flash device and sound is normal. Change ACDB can enable waves effect. Change-Id: I82341cc1fe62b1103e8640e842fcf8380154a545 Signed-off-by: jasmine cha <chajasmine@android.com>
* audio: fix issue with speaker distortionDavid Lin2018-04-055-0/+31
| | | | | | | | | | This updates the Cirrus speaker amp tuning file to address the issue with audio distortion at max volume. Bug: 76196800 Test: manual audio test Change-Id: Ifa2a32dc6df50d6944bb85172b834e6800b494db Signed-off-by: David Lin <dtwlin@google.com>
* audio: b1/c1: update speaker tuning for rear glass vibrationDavid Lin2018-03-1621-0/+131
| | | | | | | | | | | This patch update tuning files to mitigate the glass vibration issue as well as a script to reproduce the bin files used to be loaded on the device. Bug: 73724040 Test: manual audio test Change-Id: Ia101273afcd8bb7b7263e9e0820988621b82da72 Signed-off-by: David Lin <dtwlin@google.com>
* audio: fix issue with incorrect audio channel mappingDavid Lin2018-03-026-4/+4
| | | | | | | | | | | The left channel should map to the top speaker instead of the bottom one. This change swaps the left/right EQ tuning defined in the cs35l36 codec amp. Bug: 74114513 Test: audio sanity test Change-Id: I9f07272c32be15bee450435dedc05b81e340bd04 Signed-off-by: David Lin <dtwlin@google.com>
* audio: add speaker amp equalizer tuning configDavid Lin2018-02-078-0/+469
This adds the baseline tuning configs for B1 and C1. Bug: 71645808 Change-Id: I1964725e37e60dbf884bee811c2e99ad8fc4c9a5 Signed-off-by: David Lin <dtwlin@google.com>