device_google_comet/audio/comet/audio-tables.mk
Michael Bestas 00f310d506
comet: Remove HIDL audio configuration
Change-Id: I45e4f8521c352fe05b247040be9001b2e0e1ae93
2025-06-26 08:41:54 +03:00

74 lines
2.6 KiB
Makefile

#
# Copyright (C) 2020 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
AUDIO_TABLE_FOLDER := comet
PRODUCT_SOONG_NAMESPACES += device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
PRODUCT_PACKAGES += audio_aidl_configs
# Speaker firmware files
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
SPK_FIRMWARE_FULL_PATH := device/google/comet/audio/$(SPK_FIRMWARE_PATH)
PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*),$(TARGET_COPY_OUT_VENDOR)/firmware)
# Audio tuning
PRODUCT_SOONG_NAMESPACES += device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/tuning
PRODUCT_PACKAGES += \
recording.gatf \
smartfeature.gstf \
BLUETOOTH.dat \
HANDSFREE.dat \
HANDSET.dat \
HEADSET.dat \
mcps.dat \
waves_config.ini \
waves_preset.mps \
waves_config_nx.ini \
waves_preset_nx.mps \
compens_spk_l_1.conf \
compens_spk_l_2.conf \
compens_spk_r_1.conf \
compens_spk_r_2.conf \
downlink_bluetooth_headset_config.pb \
downlink_dock_config.pb \
downlink_external_speaker_config.pb \
downlink_handset_config.pb \
downlink_speaker_config.pb \
downlink_wired_headset_config.pb \
uplink_bluetooth_headset_aec_off_config.pb \
uplink_bluetooth_headset_aec_on_config.pb \
uplink_dock_aec_off_config.pb \
uplink_dock_aec_on_config.pb \
uplink_external_speaker_aec_off_config.pb \
uplink_external_speaker_aec_on_config.pb \
uplink_handset_aec_off_config.pb \
uplink_handset_aec_on_config.pb \
uplink_speaker_aec_off_config.pb \
uplink_speaker_aec_on_config.pb \
uplink_wired_headset_aec_off_config.pb \
uplink_wired_headset_aec_on_config.pb
# Offload spatializer config
PRODUCT_PACKAGES += \
vendor.google.whitechapel.audio.hal.effect.spatializer.base \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_2_ch \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_6_ch \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_xaural
# Waves nx config
PRODUCT_PACKAGES += \
libNX_Google_Pixel_Android