rosemary: Introduce Mediatek In-Call Service

* My attempt at fixing in call gain control on MediaTek devices.

* It attempts to replicate what the stock MediaTek framework does
  when controlling the volume of the earpiece speaker, since MTK's
  audio HAL is not able to set the gain of the speaker from the
  values sent by AOSP framework.

[LinkBoi00] Rebrand to Mediatek In-Call Service

Change-Id: I43f727f6fb73a0d38457a41a8361653d1d00e220
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
This commit is contained in:
bengris32
2022-07-20 23:37:58 +05:30
committed by Matsvei Niaverau
parent e20160a997
commit 4c6dc4806a
7 changed files with 171 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ PRODUCT_PACKAGES += \
libtinyxml \
tinymix
PRODUCT_PACKAGES += \
MtkInCallService
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio/audio_device.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_device.xml \
$(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \