diff --git a/configure.ac b/configure.ac index 805d00c8..78519fca 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c index f2625bcd..213a08b4 100644 --- a/hal/msm8974/platform.c +++ b/hal/msm8974/platform.c @@ -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" diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index db86cdc7..e92eb958 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -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