hal: Update for support for SDXPOORWILLS
Add correct configurations and feature flags for SDXPOORWILLS Change-Id: I84559e7d542ac7bef86128e188285f34a8d5aaa4
This commit is contained in:
parent
0b6f4eb410
commit
f6932f7f30
|
@ -73,6 +73,10 @@ if (test x$TARGET_SUPPORT = xapq8098); then
|
|||
AC_SUBST([TARGET_PLATFORM], ["msm8974"])
|
||||
TARGET_CFLAGS="-DPLATFORM_MSM8998"
|
||||
fi
|
||||
if (test x$TARGET_SUPPORT = xsdxpoorwills); then
|
||||
AC_SUBST([TARGET_PLATFORM], ["msm8974"])
|
||||
TARGET_CFLAGS="-DPLATFORM_SDX24"
|
||||
fi
|
||||
AC_SUBST([TARGET_CFLAGS])
|
||||
|
||||
AM_CONDITIONAL([QTI_AUDIO_SERVER_ENABLED],[test x$BOARD_SUPPORTS_QTI_AUDIO_SERVER = xtrue])
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#define PLATFORM_INFO_XML_PATH "/etc/audio_platform_info.xml"
|
||||
#define MIXER_XML_PATH_AUXPCM "/etc/mixer_paths_auxpcm.xml"
|
||||
#define MIXER_XML_PATH_I2S "/etc/mixer_paths_i2s.xml"
|
||||
#define PLATFORM_INFO_XML_PATH_I2S "/etc/audio_platform_info_i2s.xml"
|
||||
#define PLATFORM_INFO_XML_PATH_I2S "/etc/audio_platform_info_extcodec.xml"
|
||||
#else
|
||||
#define MIXER_XML_BASE_STRING "/vendor/etc/mixer_paths"
|
||||
#define MIXER_XML_DEFAULT_PATH "/vendor/etc/mixer_paths.xml"
|
||||
|
|
|
@ -363,11 +363,11 @@ enum {
|
|||
#define PLAYBACK_OFFLOAD_DEVICE 9
|
||||
|
||||
// Direct_PCM
|
||||
#if defined (PLATFORM_MSM8994) || defined (PLATFORM_MSM8996) || defined (PLATFORM_APQ8084) || defined (PLATFORM_MSM8998) || defined (PLATFORM_SDM845) || defined (PLATFORM_SDM670) ||defined (PLATFORM_QCS605)
|
||||
#if defined (PLATFORM_MSM8994) || defined (PLATFORM_MSM8996) || defined (PLATFORM_APQ8084) || defined (PLATFORM_MSM8998) || defined (PLATFORM_SDM845) || defined (PLATFORM_SDM670) ||defined (PLATFORM_QCS605) ||defined (PLATFORM_SDX24)
|
||||
#define PLAYBACK_OFFLOAD_DEVICE2 17
|
||||
#endif
|
||||
|
||||
#if defined (PLATFORM_APQ8084) || defined (PLATFORM_MSM8996) || defined (PLATFORM_MSM8998) || defined (PLATFORM_SDM845) || defined (PLATFORM_SDM670) || defined(PLATFORM_QCS605)
|
||||
#if defined (PLATFORM_APQ8084) || defined (PLATFORM_MSM8996) || defined (PLATFORM_MSM8998) || defined (PLATFORM_SDM845) || defined (PLATFORM_SDM670) || defined(PLATFORM_QCS605) || defined (PLATFORM_SDX24)
|
||||
#define PLAYBACK_OFFLOAD_DEVICE3 18
|
||||
#define PLAYBACK_OFFLOAD_DEVICE4 34
|
||||
#define PLAYBACK_OFFLOAD_DEVICE5 35
|
||||
|
|
Loading…
Reference in New Issue