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 <dawson@codeaurora.org>
Change-Id: I4c0a772affb0b7001192bf1bdc5aa0e2d4da711b
This commit is contained in:
Tahir Dawson 2021-03-08 14:49:34 -05:00
parent 2a0a39e6d7
commit 95d89aa4d1
3 changed files with 4 additions and 1 deletions

View File

@ -93,10 +93,11 @@ AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true
ifeq ($(TARGET_PRODUCT),msmnile_au) ifeq ($(TARGET_PRODUCT),msmnile_au)
AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true
AUDIO_FEATURE_ENABLED_SILENT_BOOT := true
else else
AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := false AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := false
AUDIO_FEATURE_ENABLED_SILENT_BOOT := false
endif endif
endif endif
AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true
AUDIO_FEATURE_ENABLED_ICC := true AUDIO_FEATURE_ENABLED_ICC := true

View File

@ -80,6 +80,7 @@ AUDIO_FEATURE_ENABLED_AUDIO_CONTROL_HAL := true
ifneq ($(ENABLE_HYP),true) ifneq ($(ENABLE_HYP),true)
AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true AUDIO_FEATURE_ENABLED_AUTO_AUDIOD := true
AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT := true
AUDIO_FEATURE_ENABLED_SILENT_BOOT := true
endif endif
AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true
AUDIO_FEATURE_ENABLED_ICC := true AUDIO_FEATURE_ENABLED_ICC := true

View File

@ -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, /**< get EQ params */
AUDIO_HAL_PLUGIN_MSG_CODEC_GET_PP_EQ_SUBBANDS, /**< get EQ subbands 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_CODEC_TUNNEL_GET_CMD, /**< pass through get cmds */
AUDIO_HAL_PLUGIN_MSG_SILENT_MODE, /**<set silent boot mode */
AUDIO_HAL_PLUGIN_MSG_MAX AUDIO_HAL_PLUGIN_MSG_MAX
} audio_hal_plugin_msg_type_t; } audio_hal_plugin_msg_type_t;