LOCAL_CFLAGS :=
+ifeq ($(BOARD_MODEM_TYPE),xmm7260)
+LOCAL_CFLAGS += -DMODEM_TYPE_XMM7260
+endif
+
LOCAL_MODULE:= libsecril-client
LOCAL_PRELINK_MODULE := false
LOCAL_LDLIBS += -lpthread
#define OEM_SND_TYPE_HEADSET 0x31 // Headset(0x30) + Voice(0x01)
#define OEM_SND_TYPE_BTVOICE 0x41 // BT(0x40) + Voice(0x01)
+#ifdef MODEM_TYPE_XMM7260
+#define OEM_SND_AUDIO_PATH_HANDSET 0x01
+#define OEM_SND_AUDIO_PATH_HEADSET 0x02
+#define OEM_SND_AUDIO_PATH_HFK 0x06
+#define OEM_SND_AUDIO_PATH_BLUETOOTH 0x04
+#define OEM_SND_AUDIO_PATH_STEREO_BLUETOOTH 0x05
+#define OEM_SND_AUDIO_PATH_SPEAKER 0x07
+#define OEM_SND_AUDIO_PATH_HEADPHONE 0x08
+#define OEM_SND_AUDIO_PATH_BT_NSEC_OFF 0x09
+#define OEM_SND_AUDIO_PATH_MIC1 0x0A
+#define OEM_SND_AUDIO_PATH_MIC2 0x0B
+#define OEM_SND_AUDIO_PATH_BT_WB 0x0C
+#define OEM_SND_AUDIO_PATH_BT_WB_NSEC_OFF 0x0D
+#else
#define OEM_SND_AUDIO_PATH_HANDSET 0x01
#define OEM_SND_AUDIO_PATH_HEADSET 0x02
#define OEM_SND_AUDIO_PATH_HFK 0x03
#define OEM_SND_AUDIO_PATH_MIC2 0x0A
#define OEM_SND_AUDIO_PATH_BT_WB 0x0B
#define OEM_SND_AUDIO_PATH_BT_WB_NSEC_OFF 0x0C
+#endif
//---------------------------------------------------------------------------
// Type definitions