[Feature][T106][task-view-97] add interface for voice call to rtp, a
file is omit

Only Configure: No
Affected branch: unknown
Affected module: voice call and at
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: yes
Doc Update: no

Change-Id: If973e0706f32e9a86a58866970e60bf8e176b386
(cherry picked from commit 7107955eca44966f18c6ebaadcfde1785fa627f2)
diff --git a/cp/ps/driver/src/chipsets/src/audio_base/include/hal_voiceprocess.h b/cp/ps/driver/src/chipsets/src/audio_base/include/hal_voiceprocess.h
old mode 100644
new mode 100755
index 371297d..810e12c
--- a/cp/ps/driver/src/chipsets/src/audio_base/include/hal_voiceprocess.h
+++ b/cp/ps/driver/src/chipsets/src/audio_base/include/hal_voiceprocess.h
@@ -23,14 +23,42 @@
  *                                                 Include files                                	    *

  **************************************************************************/

 

+

+/****************************************************************************

+* 	                                           Local Types

+****************************************************************************/

+

+typedef enum

+{

+	VBUF_SEM = 0,//voice buffer

+	ECALL_SEM,		

+	SEM_MAX

+} T_Sem_Owner;

+

+typedef enum

+{

+	DIR_RX,

+	DIR_TX, 	

+	DIR_ALL,

+	DIR_MAX

+} T_Data_Dir_Type;

+

+

 /**************************************************************************

  *                                                 Macro                                    	            *

  **************************************************************************/

+#define VP_INOUT_BAK_BUFFER_SIZE 0x30000  // 0x60000

+

+//#define TEST_WHITE_NOISE

+

+//#define  VB_DATA_LOSS_TEST

+

+

 #if 0

 #define VOICE_TONE_MIXER_FUNCTION 

 //#define TEST_WHITE_NOISE

 

-

+#endif

 

 /****************************************************************************

 * 	                                        Global Constants                                        *

@@ -47,6 +75,7 @@
 /****************************************************************************

 * 	                                         Function Prototypes                                    *

 ****************************************************************************/

+#if 0

 typedef enum

 {

     VP_I2S_IDLE = 0,

@@ -60,6 +89,13 @@
 /**************************************************************************

  *                              Function Prototypes                                    *

  **************************************************************************/

+#ifdef ECALL_SUPPORT

+

+

+SINT32 update_ecall_state(T_Data_Dir_Type dir);

+

+

+#endif