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
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
These configs are hardcoded into audio HAL instead because it's very rarely changed.
Bug: 307439907
Test: Local Test.
Change-Id: I519a59ef19e880f3e33687c779de6a8bdbcfe733
L10 for Kid's voice for all user-cases
Index 526 TX_DR_RESRV_7 0x0000 -> 0x122E
Index 527 TX_DR_RESRV_8 0x0000 -> 0x1100
Bug: 299580663
Test: Verified by test build, b/299580663#comment5
Change-Id: Ia5bfdd96a6030455c1ae63bacd78595c9460654a
Signed-off-by: Carter Hsu <carterhsu@google.com>
note: This table is only used by AIDL Sthal.
Bug: 291186942
Test: end-to-end enable path by quick phrase.
Change-Id: Ib64444810ce4190192c68c90fb35cc05caa37283
This value will be changed by battery throttling, so separating this
from reqular path control.
Bug: 274373213
Test: manual test
Change-Id: I0ba43e66d108ebaa5bd388671898b66b51915c43
Signed-off-by: Jasmine Cha <chajasmine@google.com>
note: add path for new use-case
sync diff from P23.
Test: end-to-end test with test apk
Bug: 259455755
Change-Id: I8fa123e36e04723f4b6e24fc30412301bb2c0363
note: add smartfeature.gstf that only used for Hotword
pipeline in AoC which is sharing to chre usage too.
On WHI_PRO
CHRE PDM Gain(gain=158)
CHRE AEC Gain(gain=-42)
CHRE SRC AEC Timeout(timeout=0)
This table also contains hotword gain control as
Non Eraser gain (gain=220)
Eraser Post Gain (gain=220)
Test: end-to-end verify by CHRE
using aoc_audio_cfg to query gain as below
adb shell aoc_audio_cfg hotword_get_non_eraser_gain
adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701
Change-Id: I0091641ba689f04d24f53b898fd29399c48fd21a
Change List :
Fortemedia:
Handheld :
Optimize long distance speech preserve on HHWB
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC (WB)
Files from the latest attachment on b/278661101
Bug: 278661101
Test: verified by ntkuo@
Change-Id: I47764bbc65204339b9258d7dfbfab3e312a1f4bb
- Add spatial_capture_conditions since this conditions will be different
by each project.
Bug: 267548143
Test: manual test
Change-Id: I177e2179071570ba6a8ab713ea55f0f0b340ec72
Signed-off-by: Jasmine Cha <chajasmine@google.com>
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.
Bug: 206738075
Test: manual test/ host test
vendor.google.whitechapel.audio.hal.audio.tuner_tests
Change-Id: I795402e8c460b01a148ba9e3b032143fddacd3cb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
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>
Change List :
Fortemedia:
Handheld :
Optimize HHNB single talk performance over long distances and in noisy environments.
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC (NB)
Files from the latest attachment on b/268002488
Bug: 268002488
Test: verified by ntkuo@
Change-Id: Ia5166688c2fef0a4e08fe526bce47c1207c3ee21
to solve this bug, http://b/265614716 Pixel - Disappointing audio quality recording during live show / concert
update the AGC/MBDRC module's parameters, the original setting would suppress the loudness in high sound pressure environment.
camcorder path
AGC change
Ideal RMS, MINGain -24
MBDRC change
threshold -44/-38/-38
crossover frequency 120/10k
attack 10
release 100
limiter gain 0
limiter threshold -0.2
mic path
MBDRC change
threshold -44/-44/-44
crossover frequency 120/10k
attack 10
release 100
limiter gain 0
limiter threshold -0.2
Files from the latest attachment on b/265732148
Bug: 265732148
Test: verified by darrenyen@
Change-Id: Ie650ec7c0b7bbd15b727e7c4c2d6a7796184bf93
update the AGC module's parameters, the original setting would suppress the loudness in high sound pressure environment.
idealRMS -34 -> -24
minGain -34 -> -24
Files from the latest attachment on b/261930259
Bug: 261930259
Test: verified by darrenyen@
Change-Id: I5154760a8d6c4856c056cf8491ff5e4d78699dbd
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