Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb05a16d authored by Tahir Dawson's avatar Tahir Dawson Committed by Gerrit - the friendly Code Review server
Browse files

configs: Add support for Qti AudioControl HAL

* Add Qti AudioControl HAL package for automotive targets
* Enable group volume muting for automotive targets

Change-Id: Ia5b45a1b8351a0fc962243cd1d07005b5e8e04c2
parent 73ba50db
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -166,7 +166,11 @@ MM_AUDIO += audcalparam_commands.cfg
MM_AUDIO += libsynth
MM_AUDIO += libicc

ifneq ( ,$(filter T Tiramisu 13, $(PLATFORM_VERSION)))
MM_AUDIO += vendor.qti.hardware.automotive.audiocontrol-service
else
MM_AUDIO += android.hardware.automotive.audiocontrol-service.example
endif
MM_AUDIO += libaudiopowerpolicy
endif

+6 −0
Original line number Diff line number Diff line
@@ -30,4 +30,10 @@
          dynamic audio routing is disabled and audio works in legacy mode. It may be useful
          during initial development where audio hal does not support bus based addressing yet. -->
    <bool name="audioUseDynamicRouting">true</bool>

    <!--  Configuration to enable muting of individual volume groups. If this is set to
          false, muting of individual volume groups is disabled, instead muting will toggle master
          mute. If this is set to true, car volume group muting is enabled and each individual
          volume group can be muted separately. -->
    <bool name="audioUseCarVolumeGroupMuting">true</bool>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -117,6 +117,9 @@ PRODUCT_PACKAGES += $(AUDIO_HAL_TEST_APPS)
AUDIO_FEATURE_ENABLED_AUTO_HAL := true
AUDIO_FEATURE_ENABLED_EXT_HW_PLUGIN := true
AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL := true
ifneq ( ,$(filter T Tiramisu 13, $(PLATFORM_VERSION)))
AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL_AIDL := true
endif
ifneq ($(ENABLE_HYP),true)
AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true

+3 −0
Original line number Diff line number Diff line
@@ -103,6 +103,9 @@ PRODUCT_PACKAGES += $(AUDIO_HAL_TEST_APPS)
AUDIO_FEATURE_ENABLED_AUTO_HAL := true
AUDIO_FEATURE_ENABLED_EXT_HW_PLUGIN := true
AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL := true
ifneq ( ,$(filter T Tiramisu 13, $(PLATFORM_VERSION)))
AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL_AIDL := true
endif
ifneq ($(ENABLE_HYP),true)
AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true
AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true