Audio: Bear family(8916) audio HAL bringup changes
- Added new files for platform specific code
Separate platform specific code from generic audio HAL code.
Platform specific code is:
- platform initialization
- pcm device selection
- pcm stream configuration
- sound device selection
- acdb ID selection
Modified makefiles for 8916 support
Change-Id: Idf53d19c355feb26ce9f35f9e5dd0734b542eae6
diff --git a/hal/Android.mk b/hal/Android.mk
index a7e0a02..d78d13b 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -23,6 +23,12 @@
endif
endif
+ifneq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
+ AUDIO_PLATFORM = msm8916
+ MULTIPLE_HW_VARIANTS_ENABLED := true
+ LOCAL_CFLAGS := -DPLATFORM_MSM8916
+endif
+
LOCAL_SRC_FILES := \
audio_hw.c \
voice.c \