From 1375d8428ba508251d699df5e61da8e33e0a9991 Mon Sep 17 00:00:00 2001 From: Rios Kao Date: Mon, 24 Apr 2023 06:22:46 +0000 Subject: [PATCH] audio: add smartfeature table for chre tuning 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 --- audio/lynx/audio-tables.mk | 1 + audio/lynx/tuning/bluenote/smartfeature.gstf | Bin 0 -> 236 bytes 2 files changed, 1 insertion(+) create mode 100644 audio/lynx/tuning/bluenote/smartfeature.gstf diff --git a/audio/lynx/audio-tables.mk b/audio/lynx/audio-tables.mk index 9e4d530..f8c1da5 100644 --- a/audio/lynx/audio-tables.mk +++ b/audio/lynx/audio-tables.mk @@ -55,6 +55,7 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*) # Audio tuning PRODUCT_COPY_FILES += \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \ + device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/smartfeature.gstf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/smartfeature.gstf \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \ diff --git a/audio/lynx/tuning/bluenote/smartfeature.gstf b/audio/lynx/tuning/bluenote/smartfeature.gstf new file mode 100644 index 0000000000000000000000000000000000000000..d174ae3054805add8e670b0f638dc4e901b7713f GIT binary patch literal 236 zcmXRZ%}aj5z`#(JT9n5Eq#1#@q%<%60+3EENlaG&((SR^J9oCe@aA1?Vg2&C+@4jJ zHiT}T|Ki%B&+C|*qxHJ8Q!9%(fa;*YAtkXSaRQL@f|-G#11!kQAfV2`0OT^L0I@L8 z5|CXWAPQyQ0kXxB*n&XyAh+-Uu{M%=A)q)&uK^HiB8f*Lv7?~uc|bMMQ1-R||NjF3 D7(6K? literal 0 HcmV?d00001