[Feature][ZXW-33]merge ZXW 0428 version
Change-Id: I11f167edfea428d9fab198ff00ff1364932d1b0b
diff --git a/ap/lib/libvoice/include/voice_lib.h b/ap/lib/libvoice/include/voice_lib.h
index d2baae2..6788b77 100644
--- a/ap/lib/libvoice/include/voice_lib.h
+++ b/ap/lib/libvoice/include/voice_lib.h
@@ -8,7 +8,47 @@
#ifndef __VOICE_LIB_H
#define __VOICE_LIB_H
+#include <linux/volte_drv.h>
+#define AVOICE_TEAK_2G_3G_DEV_NUM 2
+#define AVOICE_SOFT_3G_DEV_NUM 4
+#define AVOICE_4G_DEV_NUM 1
+#define AVOICE_5G_DEV_NUM 1
+
+#ifdef _USE_VOICE_ALSA
+
+
+ typedef enum
+ {
+ AVOICE_TEAK_2G_3G = 0,
+ AVOICE_SOFT_3G_NB,
+ AVOICE_SOFT_3G_WB,
+ AVOICE_4G_NB,
+ AVOICE_4G_WB,
+ AVOICE_5G_NB,
+ AVOICE_5G_WB,
+ MAX_AVOICE_MODE
+ }T_Alsa_Voice_Mode;
+int alsa_voice_open(int vmode);
+int alsa_voice_close(int vmode);
+
+
+#endif
+
+ /* Voice process channel selection. */
+ typedef enum
+ {
+ VP_PATH_HANDSET = 0,
+ VP_PATH_SPEAKER,
+ VP_PATH_HEADSET,
+ VP_PATH_BLUETOOTH,
+ VP_PATH_BLUETOOTH_NO_NR,
+ VP_PATH_HSANDSPK,
+
+ VP_PATH_OFF = 255,
+
+ MAX_VP_PATH = VP_PATH_OFF
+ } T_ZDrv_VpPath;
int voice_close(T_Voice_Para *para);
int voice_open(T_Voice_Para *para);
int voice_Vploop(int *path);