diff --git a/audio/comet/audio-tables.mk b/audio/comet/audio-tables.mk index 97a05fd..fab7cd2 100644 --- a/audio/comet/audio-tables.mk +++ b/audio/comet/audio-tables.mk @@ -16,32 +16,9 @@ AUDIO_TABLE_FOLDER := comet -# Choose AIDL config by build flag. -ifeq ($(USE_AUDIO_HAL_AIDL),true) PRODUCT_SOONG_NAMESPACES += device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/aidl_config PRODUCT_PACKAGES += audio_aidl_configs -else -# Platform Configuration for AudioHAL / SoundTriggerHAL -PRODUCT_COPY_FILES += \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml - -# AudioEffectHAL Configuration -PRODUCT_COPY_FILES += \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml - -# Mixer Path Configuration for AudioHAL -PRODUCT_COPY_FILES += \ - device/google/comet/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml -endif - # Speaker firmware files SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw SPK_FIRMWARE_FULL_PATH := device/google/comet/audio/$(SPK_FIRMWARE_PATH) diff --git a/audio/comet/config/audio_effects.xml b/audio/comet/config/audio_effects.xml deleted file mode 100644 index 11e66e5..0000000 --- a/audio/comet/config/audio_effects.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_platform_configuration.xml b/audio/comet/config/audio_platform_configuration.xml deleted file mode 100644 index 83a577d..0000000 --- a/audio/comet/config/audio_platform_configuration.xml +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_policy_configuration.xml b/audio/comet/config/audio_policy_configuration.xml deleted file mode 100644 index ff656e5..0000000 --- a/audio/comet/config/audio_policy_configuration.xml +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - - Speaker - Speaker Safe - Earpiece - Built-In Mic - Built-In Back Mic - Telephony Tx - Voice Call And Telephony Rx - Echo Ref In - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/comet/config/audio_policy_configuration_a2dp_offload_disabled.xml deleted file mode 100644 index 552618c..0000000 --- a/audio/comet/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - - - Speaker - Speaker Safe - Earpiece - Built-In Mic - Built-In Back Mic - Telephony Tx - Voice Call And Telephony Rx - Echo Ref In - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/comet/config/audio_policy_configuration_bluetooth_legacy_hal.xml deleted file mode 100644 index 54a4bc5..0000000 --- a/audio/comet/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - - Speaker - Speaker Safe - Earpiece - Built-In Mic - Built-In Back Mic - Telephony Tx - Voice Call And Telephony Rx - Echo Ref In - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_policy_configuration_le_offload_disabled.xml b/audio/comet/config/audio_policy_configuration_le_offload_disabled.xml deleted file mode 100644 index 91fa680..0000000 --- a/audio/comet/config/audio_policy_configuration_le_offload_disabled.xml +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - Speaker - Speaker Safe - Earpiece - Built-In Mic - Built-In Back Mic - Telephony Tx - Voice Call And Telephony Rx - Echo Ref In - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/audio_policy_volumes.xml b/audio/comet/config/audio_policy_volumes.xml deleted file mode 100644 index 046a3a1..0000000 --- a/audio/comet/config/audio_policy_volumes.xml +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - 0,-4200 - 33,-2800 - 66,-1400 - 100,0 - - - 0,-2400 - 33,-1600 - 66,-800 - 100,0 - - - 0,-2400 - 33,-1600 - 66,-800 - 100,0 - - - - - 1,-3000 - 33,-2600 - 66,-2200 - 100,-1800 - - - 1,-4000 - 71,-1800 - 100,-1000 - - - - - - - 1,-2800 - 71,-700 - 100,0 - - - - - - - 1,-5750 - 32,-3200 - 60,-1700 - 80,-1000 - 100,0 - - - - - - - 0,-3500 - 1,-3000 - 71,-600 - 100,0 - - - - - - - 1,-3300 - 57,-1700 - 71,-1100 - 100,0 - - - - - - 0,-4200 - 33,-2800 - 66,-1400 - 100,0 - - - 0,-2400 - 33,-1600 - 66,-800 - 100,0 - - - 0,-4200 - 33,-2800 - 66,-1400 - 100,0 - - - - - 1,-3000 - 33,-2600 - 66,-2200 - 100,-1800 - - - 1,-4960 - 100,0 - - - - - - 1,-3000 - 33,-2600 - 66,-2200 - 100,-1800 - - - 1,-4900 - 57,-2200 - 100,-550 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/bluetooth_with_le_audio_policy_configuration_7_0.xml b/audio/comet/config/bluetooth_with_le_audio_policy_configuration_7_0.xml deleted file mode 100644 index efd7277..0000000 --- a/audio/comet/config/bluetooth_with_le_audio_policy_configuration_7_0.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/audio/comet/config/mixer_paths.xml b/audio/comet/config/mixer_paths.xml deleted file mode 100644 index 1513551..0000000 --- a/audio/comet/config/mixer_paths.xml +++ /dev/null @@ -1,913 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/comet/config/sound_trigger_configuration.xml b/audio/comet/config/sound_trigger_configuration.xml deleted file mode 100644 index dbee090..0000000 --- a/audio/comet/config/sound_trigger_configuration.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/device-comet.mk b/device-comet.mk index 35fc171..d542c84 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -48,9 +48,7 @@ include device/google/comet/uwb/uwb_calibration.mk DEVICE_PACKAGE_OVERLAYS += device/google/comet/comet/overlay -ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true) USE_AUDIO_HAL_AIDL := true -endif include device/google/comet/audio/comet/audio-tables.mk include device/google/zumapro/device-shipping-common.mk @@ -247,13 +245,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_transaural_enabled_default=false \ persist.vendor.audio.spatializer.speaker_enabled=true -ifneq ($(USE_AUDIO_HAL_AIDL),true) -# HIDL Sound Dose -PRODUCT_PACKAGES += \ - android.hardware.audio.sounddose-vendor-impl \ - audio_sounddose_aoc -endif - # Audio CCA property PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.audio.cca.enabled=false