From 95d89aa4d13f65d562545df810d734b7377df877 Mon Sep 17 00:00:00 2001 From: Tahir Dawson Date: Mon, 8 Mar 2021 14:49:34 -0500 Subject: [PATCH] hal: Add support for audio-hal-plugin silent mode messages * Add silent mode message types * Set silent boot feature flag Signed-off-by: Tahir Dawson Change-Id: I4c0a772affb0b7001192bf1bdc5aa0e2d4da711b --- configs/msmnile_au/msmnile_au.mk | 3 ++- configs/msmsteppe_au/msmsteppe_au.mk | 1 + hal/audio_hal_plugin.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/msmnile_au/msmnile_au.mk b/configs/msmnile_au/msmnile_au.mk index 7d9aa3c9..8e7f833a 100644 --- a/configs/msmnile_au/msmnile_au.mk +++ b/configs/msmnile_au/msmnile_au.mk @@ -93,10 +93,11 @@ AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true ifeq ($(TARGET_PRODUCT),msmnile_au) AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true +AUDIO_FEATURE_ENABLED_SILENT_BOOT := true else AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := false +AUDIO_FEATURE_ENABLED_SILENT_BOOT := false endif - endif AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true AUDIO_FEATURE_ENABLED_ICC := true diff --git a/configs/msmsteppe_au/msmsteppe_au.mk b/configs/msmsteppe_au/msmsteppe_au.mk index 769333df..5e083bb2 100644 --- a/configs/msmsteppe_au/msmsteppe_au.mk +++ b/configs/msmsteppe_au/msmsteppe_au.mk @@ -80,6 +80,7 @@ AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL := true ifneq ($(ENABLE_HYP),true) AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true +AUDIO_FEATURE_ENABLED_SILENT_BOOT := true endif AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true AUDIO_FEATURE_ENABLED_ICC := true diff --git a/hal/audio_hal_plugin.h b/hal/audio_hal_plugin.h index b5033c84..3d77b233 100644 --- a/hal/audio_hal_plugin.h +++ b/hal/audio_hal_plugin.h @@ -86,6 +86,7 @@ typedef enum AUDIO_HAL_PLUGIN_MSG_CODEC_GET_PP_EQ, /**< get EQ params */ AUDIO_HAL_PLUGIN_MSG_CODEC_GET_PP_EQ_SUBBANDS, /**< get EQ subbands params */ AUDIO_HAL_PLUGIN_MSG_CODEC_TUNNEL_GET_CMD, /**< pass through get cmds */ + AUDIO_HAL_PLUGIN_MSG_SILENT_MODE, /**