From 8a2a6b6435543cd5e0791e2a15e998d18168c2e4 Mon Sep 17 00:00:00 2001 From: Rios Kao Date: Mon, 24 Apr 2023 06:56:43 +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 ZUMA CHRE PDM Gain(gain=10) CHRE AEC Gain(gain=-22) CHRE SRC AEC Timeout(timeout=300000) 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: I8355563141b86c59e0c9115a64b787ac92f5aadd --- audio/husky/audio-tables.mk | 1 + audio/husky/tuning/bluenote/smartfeature.gstf | Bin 0 -> 236 bytes audio/shiba/audio-tables.mk | 1 + audio/shiba/tuning/bluenote/smartfeature.gstf | Bin 0 -> 236 bytes 4 files changed, 2 insertions(+) create mode 100644 audio/husky/tuning/bluenote/smartfeature.gstf create mode 100644 audio/shiba/tuning/bluenote/smartfeature.gstf diff --git a/audio/husky/audio-tables.mk b/audio/husky/audio-tables.mk index 8736e09..0248b04 100644 --- a/audio/husky/audio-tables.mk +++ b/audio/husky/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/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \ + device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/smartfeature.gstf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/smartfeature.gstf \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \ diff --git a/audio/husky/tuning/bluenote/smartfeature.gstf b/audio/husky/tuning/bluenote/smartfeature.gstf new file mode 100644 index 0000000000000000000000000000000000000000..f669a071a8b1ee001ab1322b419afa13bd1f96af GIT binary patch literal 236 zcmXRZ%}aj5z`#(JT9n5Eq#1#@q%<%60+3EENlaG&()XAPH9j1*y87vmPfPmy84DSA z@E&@Tc>lbp$%lI}&+nyWr&bno0M$W(LrP*v;shY)1v3Lf2Uw7qK|q~>0mx-g0b*gG zB_O*%KorWp17wRMu?2zZL2lszVr?Y#LO^klUIQT3L=umLvL8%lVTgjVxqxb-q3l=x H|NjR7qV_7i literal 0 HcmV?d00001 diff --git a/audio/shiba/audio-tables.mk b/audio/shiba/audio-tables.mk index b4e4270..508e15a 100644 --- a/audio/shiba/audio-tables.mk +++ b/audio/shiba/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/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \ + device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/smartfeature.gstf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/smartfeature.gstf \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \ diff --git a/audio/shiba/tuning/bluenote/smartfeature.gstf b/audio/shiba/tuning/bluenote/smartfeature.gstf new file mode 100644 index 0000000000000000000000000000000000000000..f669a071a8b1ee001ab1322b419afa13bd1f96af GIT binary patch literal 236 zcmXRZ%}aj5z`#(JT9n5Eq#1#@q%<%60+3EENlaG&()XAPH9j1*y87vmPfPmy84DSA z@E&@Tc>lbp$%lI}&+nyWr&bno0M$W(LrP*v;shY)1v3Lf2Uw7qK|q~>0mx-g0b*gG zB_O*%KorWp17wRMu?2zZL2lszVr?Y#LO^klUIQT3L=umLvL8%lVTgjVxqxb-q3l=x H|NjR7qV_7i literal 0 HcmV?d00001