audio: separate Fortemedia Stereo VoIP tuning
1. In case the Fortemedia CL conflict between tm-qpr and tm-d1, separate the Fortemedia tuning. 2. Enable stereo VoIP on speaker and usb path 3. Reserved 2(VoIP use case) in handsfree and headset mode changed to stereo processing. 4. FNS for NB/WB across all modes changed to fulfill CCA settings. Bug: 237230890 Test: Verified at b/237230890#comment14 Signed-off-by: Carter Hsu <carterhsu@google.com> Change-Id: I10303abdce6ef56414db0ce7b457efcd415bd786
This commit is contained in:
parent
34d5a0aa61
commit
26c0da4f2b
22 changed files with 539400 additions and 20 deletions
|
@ -44,21 +44,21 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*)
|
|||
# Audio tuning
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
|
|
@ -301,7 +301,7 @@
|
|||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1"/>
|
||||
<module libname="audio_cca_aoc.so"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:1,USB:1 VoIP_Rate=32000"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
<module libname="audio_bluenote_aoc.so"/>
|
||||
|
|
BIN
audio/cheetah/tuning/fortemedia_stereo/BLUETOOTH.dat
Normal file
BIN
audio/cheetah/tuning/fortemedia_stereo/BLUETOOTH.dat
Normal file
Binary file not shown.
69425
audio/cheetah/tuning/fortemedia_stereo/BLUETOOTH.mods
Normal file
69425
audio/cheetah/tuning/fortemedia_stereo/BLUETOOTH.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/cheetah/tuning/fortemedia_stereo/HANDSET.dat
Normal file
BIN
audio/cheetah/tuning/fortemedia_stereo/HANDSET.dat
Normal file
Binary file not shown.
64085
audio/cheetah/tuning/fortemedia_stereo/HANDSET.mods
Normal file
64085
audio/cheetah/tuning/fortemedia_stereo/HANDSET.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.dat
Normal file
BIN
audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.dat
Normal file
Binary file not shown.
29375
audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods
Normal file
29375
audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/cheetah/tuning/fortemedia_stereo/HEADSET.dat
Normal file
BIN
audio/cheetah/tuning/fortemedia_stereo/HEADSET.dat
Normal file
Binary file not shown.
106805
audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods
Normal file
106805
audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/cheetah/tuning/fortemedia_stereo/mcps.dat
Normal file
BIN
audio/cheetah/tuning/fortemedia_stereo/mcps.dat
Normal file
Binary file not shown.
|
@ -44,21 +44,21 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*)
|
|||
# Audio tuning
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
|
|
@ -301,7 +301,7 @@
|
|||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1"/>
|
||||
<module libname="audio_cca_aoc.so"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:1,USB:1 VoIP_Rate=32000"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
<module libname="audio_bluenote_aoc.so"/>
|
||||
|
|
BIN
audio/panther/tuning/fortemedia_stereo/BLUETOOTH.dat
Normal file
BIN
audio/panther/tuning/fortemedia_stereo/BLUETOOTH.dat
Normal file
Binary file not shown.
69425
audio/panther/tuning/fortemedia_stereo/BLUETOOTH.mods
Normal file
69425
audio/panther/tuning/fortemedia_stereo/BLUETOOTH.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/panther/tuning/fortemedia_stereo/HANDSET.dat
Normal file
BIN
audio/panther/tuning/fortemedia_stereo/HANDSET.dat
Normal file
Binary file not shown.
64085
audio/panther/tuning/fortemedia_stereo/HANDSET.mods
Normal file
64085
audio/panther/tuning/fortemedia_stereo/HANDSET.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/panther/tuning/fortemedia_stereo/HANDSFREE.dat
Normal file
BIN
audio/panther/tuning/fortemedia_stereo/HANDSFREE.dat
Normal file
Binary file not shown.
29375
audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods
Normal file
29375
audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/panther/tuning/fortemedia_stereo/HEADSET.dat
Normal file
BIN
audio/panther/tuning/fortemedia_stereo/HEADSET.dat
Normal file
Binary file not shown.
106805
audio/panther/tuning/fortemedia_stereo/HEADSET.mods
Normal file
106805
audio/panther/tuning/fortemedia_stereo/HEADSET.mods
Normal file
File diff suppressed because it is too large
Load diff
BIN
audio/panther/tuning/fortemedia_stereo/mcps.dat
Normal file
BIN
audio/panther/tuning/fortemedia_stereo/mcps.dat
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue