Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
No Match

r"
"
gm

Test String

Code Generator

Generated Code

use strict; my $str = 'cat > log.txt <<EOF **************************************************************** \\t Compile and link all project files !! \\t Compile and link all project files !! **************************************************************** \\t all. frame,npu,vpu,apu,fpu \\t 0. Exit! \\n\\n apu [Note] Please select number from above list[0-5]:\\n >>> Detail info written in file apu.detail >>> Error info written in file apu.err \\n Delete lib files in /home/workspace/lib/*.a! except libzxinfunc.so.......\\n Make clean object files ......\\n \\n*********** Welcom to this software ************\\n proj_check begin /home/workspace /home/workspace/project /home/workspace/ create_sys_mk begin OsType: Linux . create_mid_mk begin Basic files for compilation is successfully created, thank you!!!\\n make apu begin!! /home/workspace/code/apu/makefile rm -rf ../object/* Compiling 64-bit ...... \\n --------------------------------------------------------------- In file included from ../source/common/apu_ZIMEExtTransport.cpp:21:0: /home/workspace/framework/interface/3rdhead/zxinos/os/mbase.h:189:0: warning: ignoring #pragma PACK_ONE [-Wunknown-pragmas] #pragma PACK_ONE ^ /home/workspace/framework/interface/3rdhead/zxinos/os/mbase.h:228:0: warning: ignoring #pragma PACK_RESET [-Wunknown-pragmas] #pragma PACK_RESET ^ In file included from ../source/common/apu_ZIMEExtTransport.cpp:27:0: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient_Extend.h:33:0, from /home/workspace/code/apu/include/common/common/apu_ZIMEExtTransport.h:37, from ../source/common/apu_ZIMEExtTransport.cpp:28: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIMEExtTransport.cpp:29: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIMEExtTransport.cpp:29: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/common/apu_ZIMEExtTransport.cpp:30: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_ZIMEClientSDKWrap.h:7:0, from ../source/common/apu_ZIMEExtTransport.cpp:13: /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_s32ChId\' [-Wunused-parameter] virtual void VideoModeSwitchNotify (int i_s32ChId, T_ZIMEVideoModeSwitchInfo & i_tZIMEVideoModeSwitchInfo){;}//�����ӿ� ^ /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_tZIMEVideoModeSwitchInfo\' [-Wunused-parameter] ../source/common/apu_ZIMEExtTransport.cpp:158:5: warning: unused parameter \'i_s32ChId\' [-Wunused-parameter] int APUZIMEExtTransport::SendRTCPPacket(int i_s32ChId, const void *i_pData, int i_s32Len, E_ZIMEMediaType i_eMediaType) ^ ../source/common/apu_ZIMEExtTransport.cpp:158:5: warning: unused parameter \'i_pData\' [-Wunused-parameter] ../source/common/apu_ZIMEExtTransport.cpp:158:5: warning: unused parameter \'i_s32Len\' [-Wunused-parameter] ../source/common/apu_ZIMEExtTransport.cpp:158:5: warning: unused parameter \'i_eMediaType\' [-Wunused-parameter] In file included from ../source/common/apu_ZIMEClientSDKWrap.cpp:16:0: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient_Extend.h:33:0, from /home/workspace/code/apu/include/common/common/apu_ZIMEExtTransport.h:37, from ../source/common/apu_ZIMEClientSDKWrap.cpp:17: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIMEClientSDKWrap.cpp:19: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIMEClientSDKWrap.cpp:19: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/common/apu_ZIMEClientSDKWrap.cpp:20: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_ZIME_AudioProc.h:4:0, from ../source/common/apu_ZIMEClientSDKWrap.cpp:14: /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_s32ChId\' [-Wunused-parameter] virtual void VideoModeSwitchNotify (int i_s32ChId, T_ZIMEVideoModeSwitchInfo & i_tZIMEVideoModeSwitchInfo){;}//�����ӿ� ^ /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_tZIMEVideoModeSwitchInfo\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:27:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ProducerOpen(void* i_pCallBack, unsigned int i_iCameraIndex){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:27:18: warning: unused parameter \'i_iCameraIndex\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:28:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ProducerClose(void* i_pCallBack){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:29:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ProducerStart(void* i_pCallBack, unsigned int i_iWidth, unsigned int i_iHeight, void* i_pSurfaceHolder){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:29:18: warning: unused parameter \'i_iWidth\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:29:18: warning: unused parameter \'i_iHeight\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:29:18: warning: unused parameter \'i_pSurfaceHolder\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:30:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ProducerStop(void* i_pCallBack){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:31:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_GetFrame(void* i_pCallBack, const unsigned char *io_pFrameBuf, unsigned int *io_iBufLen, void* i_pVideoFrameInfo){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:31:18: warning: unused parameter \'io_pFrameBuf\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:31:18: warning: unused parameter \'io_iBufLen\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:31:18: warning: unused parameter \'i_pVideoFrameInfo\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:33:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ConsumerOpen(void* i_pCallBack){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:34:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ConsumerClose( void* i_pCallBack ){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:35:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ConsumerStart(void* i_pCallBack, unsigned int i_iWidth, unsigned int i_iHeight, void* i_pSurfaceHolder){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:35:18: warning: unused parameter \'i_iWidth\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:35:18: warning: unused parameter \'i_iHeight\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:35:18: warning: unused parameter \'i_pSurfaceHolder\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:36:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_ConsumerStop(void* i_pCallBack){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:37:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode apu_ZIME_VideoCallBack_WriteFrame(void* i_pCallBack, const unsigned char *i_pFrameBuf, unsigned int i_iBufLen, void* i_pVideoFrameInfo){return enumZIME_OK;} ^ ../source/common/apu_ZIMEClientSDKWrap.cpp:37:18: warning: unused parameter \'i_pFrameBuf\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:37:18: warning: unused parameter \'i_iBufLen\' [-Wunused-parameter] ../source/common/apu_ZIMEClientSDKWrap.cpp:37:18: warning: unused parameter \'i_pVideoFrameInfo\' [-Wunused-parameter] In file included from ../source/common/apu_ZIME_AudioProc.cpp:15:0: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient_Extend.h:33:0, from /home/workspace/code/apu/include/common/common/apu_ZIMEExtTransport.h:37, from ../source/common/apu_ZIME_AudioProc.cpp:17: /home/workspace/framework/interface/3rdhead/qoe/ZIMEAVClient.h:2323:1: warning: "/*" within comment [-Wcomment] /** ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/common/apu_ZIME_AudioProc.cpp:22: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIME_AudioProc.cpp:23: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/common/apu_ZIME_AudioProc.cpp:23: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_ZIME_AudioProc.h:4:0, from ../source/common/apu_ZIME_AudioProc.cpp:13: /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_s32ChId\' [-Wunused-parameter] virtual void VideoModeSwitchNotify (int i_s32ChId, T_ZIMEVideoModeSwitchInfo & i_tZIMEVideoModeSwitchInfo){;}//�����ӿ� ^ /home/workspace/framework/interface/3rdhead/qoe/ZIMEType.h:1869:16: warning: unused parameter \'i_tZIMEVideoModeSwitchInfo\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:26:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ProducerOpen( void* pCallBack, int i_nSampleRate ) ^ ../source/common/apu_ZIME_AudioProc.cpp:26:18: warning: unused parameter \'i_nSampleRate\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:31:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ProducerClose( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:36:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ProducerStart( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:41:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ProducerStop( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:46:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ConsumerOpen( void* pCallBack, int i_nSampleRate ) ^ ../source/common/apu_ZIME_AudioProc.cpp:46:18: warning: unused parameter \'i_nSampleRate\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:51:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ConsumerClose( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:56:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ConsumerStart( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:61:18: warning: unused parameter \'pCallBack\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioCallBack_ConsumerStop( void* pCallBack ) ^ ../source/common/apu_ZIME_AudioProc.cpp:66:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode APU_ZIME_AudioDecodeCallBack_Uninit(void* i_pCallBack) ^ ../source/common/apu_ZIME_AudioProc.cpp:72:18: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] E_ZIMEResultCode APU_ZIME_AudioEncodeCallBack_Uninit(void* i_pCallBack) ^ ../source/common/apu_ZIME_AudioProc.cpp:226:18: warning: unused parameter \'i_tAudioCodecInfo\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioDecodeCallBack_Init(void* i_pCallBack, ZIMEAudioDecodeDequeue i_Dequeue, void* i_pObject, T_ZIMEAudioCodecInfo& i_tAudioCodecInfo) ^ ../source/common/apu_ZIME_AudioProc.cpp:256:18: warning: unused parameter \'i_tAudioCodecInfo\' [-Wunused-parameter] E_ZIMEResultCode ZIME_AudioEncodeCallBack_Init(void* i_pCallBack, ZIMEAudioEncodeDequeue i_Dequeue, void* i_pObject, T_ZIMEAudioCodecInfo& i_tAudioCodecInfo) ^ ../source/common/apu_ZIME_AudioProc.cpp:436:6: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] void ZIME_Audio_OutputRTPCallBack(void* i_pCallBack, const char *i_pRTPPkt, unsigned int i_u32PktLen) ^ ../source/common/apu_ZIME_AudioProc.cpp:436:6: warning: unused parameter \'i_pRTPPkt\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:436:6: warning: unused parameter \'i_u32PktLen\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:441:6: warning: unused parameter \'i_pCallBack\' [-Wunused-parameter] void ZIME_Aduio_OutputRTCPCallBack(void* i_pCallBack, const char *i_pRTCPPkt, unsigned int i_u32PktLen, E_ZIMERTCPDirection i_eRTCPDirection) ^ ../source/common/apu_ZIME_AudioProc.cpp:441:6: warning: unused parameter \'i_pRTCPPkt\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:441:6: warning: unused parameter \'i_u32PktLen\' [-Wunused-parameter] ../source/common/apu_ZIME_AudioProc.cpp:441:6: warning: unused parameter \'i_eRTCPDirection\' [-Wunused-parameter] In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioctrl/main/ac_resmgr.c:6: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioctrl/main/ac_resmgr.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:12, from ../source/audioctrl/main/ac_resmgr.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11:0, from ../source/audioctrl/main/ac_resmgr.c:6: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/common/mps_commondef.h:41:0, from /home/workspace/code/apu/include/audioctrl/common/apuctrl.h:9, from ../source/audioctrl/main/apuctrl.c:6: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from /home/workspace/code/apu/include/audioctrl/common/apuctrl.h:9, from ../source/audioctrl/main/apuctrl.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/common/apuctrl.h:9, from ../source/audioctrl/main/apuctrl.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/main/apuctrl.c: In function \'apuctrl_proc\': ../source/audioctrl/main/apuctrl.c:20:52: warning: unused parameter \'paraout\' [-Wunused-parameter] void far apuctrl_proc(UINT8 far *parain,UINT8 far *paraout,UINT8 far *dataPtr) ^ ../source/audioctrl/main/apuctrl.c:20:71: warning: unused parameter \'dataPtr\' [-Wunused-parameter] void far apuctrl_proc(UINT8 far *parain,UINT8 far *paraout,UINT8 far *dataPtr) ^ ../source/audioctrl/main/apuctrl.c: In function \'APU_InitDeal\': ../source/audioctrl/main/apuctrl.c:57:26: warning: unused parameter \'parain\' [-Wunused-parameter] void APU_InitDeal(UINT8 *parain, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:57:41: warning: unused parameter \'u16Event\' [-Wunused-parameter] void APU_InitDeal(UINT8 *parain, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:57:58: warning: unused parameter \'u16Len\' [-Wunused-parameter] void APU_InitDeal(UINT8 *parain, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:57:71: warning: unused parameter \'ptSendPid\' [-Wunused-parameter] void APU_InitDeal(UINT8 *parain, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c: In function \'APU_WorkDeal\': ../source/audioctrl/main/apuctrl.c:227:71: warning: unused parameter \'ptSendPid\' [-Wunused-parameter] void APU_WorkDeal(UINT8 *parain, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c: In function \'APU_DefaultDeal\': ../source/audioctrl/main/apuctrl.c:248:29: warning: unused parameter \'parain\' [-Wunused-parameter] void APU_DefaultDeal(UINT8 *parain, UINT16 u16State, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:248:44: warning: unused parameter \'u16State\' [-Wunused-parameter] void APU_DefaultDeal(UINT8 *parain, UINT16 u16State, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:248:61: warning: unused parameter \'u16Event\' [-Wunused-parameter] void APU_DefaultDeal(UINT8 *parain, UINT16 u16State, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:248:78: warning: unused parameter \'u16Len\' [-Wunused-parameter] void APU_DefaultDeal(UINT8 *parain, UINT16 u16State, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ ../source/audioctrl/main/apuctrl.c:248:91: warning: unused parameter \'ptSendPid\' [-Wunused-parameter] void APU_DefaultDeal(UINT8 *parain, UINT16 u16State, UINT16 u16Event, UINT16 u16Len, PID *ptSendPid) ^ In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:10:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/main/apuctrl.c:8: ../source/audioctrl/main/apuctrl.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from ../source/audioctrl/main/ac_init.c:10:0: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from ../source/audioctrl/main/ac_init.c:12: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from ../source/audioctrl/main/ac_init.c:12: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/main/ac_init.c: In function \'APU_Func_Register\': ../source/audioctrl/main/ac_init.c:197:5: warning: implicit declaration of function \'ApuC2WR01RegisterFunc\' [-Wimplicit-function-declaration] ApuC2WR01RegisterFunc(); ^ ../source/audioctrl/main/ac_init.c:199:5: warning: implicit declaration of function \'ApuTaskRegisterFunc\' [-Wimplicit-function-declaration] ApuTaskRegisterFunc(); ^ ../source/audioctrl/main/ac_init.c: In function \'ac_ResumeMixer\': ../source/audioctrl/main/ac_init.c:525:5: warning: implicit declaration of function \'ZXMS_Get_CurrentTime\' [-Wimplicit-function-declaration] ZXMS_Get_CurrentTime(&BeginTime); ^ ../source/audioctrl/main/ac_init.c:558:5: warning: implicit declaration of function \'ZXMS_Get_Ms_Time\' [-Wimplicit-function-declaration] MsTime = ZXMS_Get_Ms_Time(&EndTime, &BeginTime); ^ ../source/audioctrl/main/ac_init.c:513:35: warning: unused parameter \'pRestMsg\' [-Wunused-parameter] void ac_ResumeMixer(T_ApuRestMsg *pRestMsg) ^ ../source/audioctrl/main/ac_init.c: In function \'ac_ResumeMixnode\': ../source/audioctrl/main/ac_init.c:617:37: warning: unused parameter \'pRestMsg\' [-Wunused-parameter] void ac_ResumeMixnode(T_ApuRestMsg *pRestMsg) ^ In file included from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11:0, from ../source/audioctrl/main/ac_init.c:13: ../source/audioctrl/main/ac_init.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/common/mps_commondef.h:41:0, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_report.h:9, from ../source/audioctrl/redis_client/ac_report.c:6: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_report.h:9, from ../source/audioctrl/redis_client/ac_report.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_report.h:9, from ../source/audioctrl/redis_client/ac_report.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/redis_client/ac_report.c: In function \'AC_Report_MaxVoice\': ../source/audioctrl/redis_client/ac_report.c:38:47: warning: unused parameter \'u16Len\' [-Wunused-parameter] void AC_Report_MaxVoice(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/redis_client/ac_report.c: In function \'AC_Report_DtmfEvent\': ../source/audioctrl/redis_client/ac_report.c:99:48: warning: unused parameter \'u16Len\' [-Wunused-parameter] void AC_Report_DtmfEvent(UINT8 *parain, UINT16 u16Len) ^ In file included from /home/workspace/code/apu/include/common/apu/interface_p2c.h:11:0, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_report.h:10, from ../source/audioctrl/redis_client/ac_report.c:6: ../source/audioctrl/redis_client/ac_report.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/audioctrl/redis_client/ac_redis_resume.c:7: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/common/apu/interface_p2c.h:11, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_redis_resume.h:9, from ../source/audioctrl/redis_client/ac_redis_resume.c:10: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/common/apu/interface_p2c.h:11, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_redis_resume.h:9, from ../source/audioctrl/redis_client/ac_redis_resume.c:10: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/redis_client/ac_redis_resume.c: In function \'ac_DelDataFromRedis\': ../source/audioctrl/redis_client/ac_redis_resume.c:110:5: warning: missing braces around initializer [-Wmissing-braces] RedisDelDataMsg redisDelDataMsg = {0}; ^ ../source/audioctrl/redis_client/ac_redis_resume.c:110:5: warning: (near initialization for \'redisDelDataMsg.UID\') [-Wmissing-braces] ../source/audioctrl/redis_client/ac_redis_resume.c:110:5: warning: missing initializer for field \'ServiceID\' of \'RedisDelDataMsg\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/redis_client/ac_redis_ci.h:8:0, from ../source/audioctrl/redis_client/ac_redis_resume.c:6: /home/workspace/framework/interface/interhead/redis.h:126:10: note: \'ServiceID\' declared here UINT8 ServiceID[MAX_REDIS_SERVICEID_LEN]; ^ In file included from /home/workspace/code/apu/include/common/apu/interface_p2c.h:11:0, from /home/workspace/code/apu/include/audioctrl/redis_client/ac_redis_resume.h:9, from ../source/audioctrl/redis_client/ac_redis_resume.c:10: ../source/audioctrl/redis_client/ac_redis_resume.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/audioctrl/redis_client/ac_redis_ci.c:7: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/audioctrl/redis_client/ac_redis_ci.c:9: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from ../source/audioctrl/redis_client/ac_redis_ci.c:9: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:9:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/restprocess/ac_restservice.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/restprocess/ac_restservice.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/restprocess/ac_restservice.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/restprocess/ac_restservice.c: In function \'APU_Stream_UpDate\': ../source/audioctrl/restprocess/ac_restservice.c:366:5: warning: missing braces around initializer [-Wmissing-braces] T_StreamUpdate req = {0}; ^ ../source/audioctrl/restprocess/ac_restservice.c:366:5: warning: (near initialization for \'req.srcID\') [-Wmissing-braces] ../source/audioctrl/restprocess/ac_restservice.c:366:5: warning: missing initializer for field \'confNo\' of \'T_StreamUpdate\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/restprocess/ac_restservice.c:1: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:407:21: note: \'confNo\' declared here UINT8 confNo[APU_CONFNO_MAX_LEN]; ^ In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:10:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restservice.h:7, from ../source/audioctrl/restprocess/ac_restservice.c:1: ../source/audioctrl/restprocess/ac_restservice.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:9:0, from ../source/audioctrl/restprocess/ac_restparser.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from ../source/audioctrl/restprocess/ac_restparser.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from ../source/audioctrl/restprocess/ac_restparser.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/restprocess/ac_restparser.c: In function \'APU_String_GetandCheck\': ../source/audioctrl/restprocess/ac_restparser.c:254:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (0 == strlen(*strVal)|| strlen(*strVal)> maxlen-1) ^ In file included from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:10:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restparser.h:12, from ../source/audioctrl/restprocess/ac_restparser.c:1: ../source/audioctrl/restprocess/ac_restparser.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/common/mps_commondef.h:41:0, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:9, from ../source/audioctrl/restprocess/ac_restcreate.c:4: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/common/mps_commondef.h:42, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:9, from ../source/audioctrl/restprocess/ac_restcreate.c:4: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:9, from ../source/audioctrl/restprocess/ac_restcreate.c:4: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from ../source/audioctrl/serviceprocess/ac_timerproc.c:7:0: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioctrl/serviceprocess/ac_timerproc.c:8: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:12, from ../source/audioctrl/serviceprocess/ac_timerproc.c:8: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer8_ChanRelease_Proc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:247:52: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer8_ChanRelease_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_AddTransCode_Proc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:278:53: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_AddTransCode_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_RouteCheck_Proc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:314:51: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_RouteCheck_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_DelTransCode_Proc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:346:53: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_DelTransCode_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_TransCodeChanRelease_Proc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:389:61: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_TransCodeChanRelease_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_DtmfProc\': ../source/audioctrl/serviceprocess/ac_timerproc.c:423:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent responsedata = {0}; ^ ../source/audioctrl/serviceprocess/ac_timerproc.c:423:5: warning: (near initialization for \'responsedata.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_timerproc.c:423:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from ../source/audioctrl/serviceprocess/ac_timerproc.c:11:0: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ ../source/audioctrl/serviceprocess/ac_timerproc.c:418:44: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_DtmfProc(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_UpdateRedisExpireTime\': ../source/audioctrl/serviceprocess/ac_timerproc.c:457:42: warning: unused parameter \'parain\' [-Wunused-parameter] void Timer9_UpdateRedisExpireTime(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c:457:57: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_UpdateRedisExpireTime(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_timerproc.c: In function \'Timer9_StreamUpdate\': ../source/audioctrl/serviceprocess/ac_timerproc.c:482:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent responsedata = {0}; ^ ../source/audioctrl/serviceprocess/ac_timerproc.c:482:5: warning: (near initialization for \'responsedata.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_timerproc.c:482:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from ../source/audioctrl/serviceprocess/ac_timerproc.c:11:0: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ ../source/audioctrl/serviceprocess/ac_timerproc.c:477:48: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer9_StreamUpdate(UINT8 *parain, UINT16 u16Len) ^ In file included from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11:0, from ../source/audioctrl/serviceprocess/ac_timerproc.c:8: ../source/audioctrl/serviceprocess/ac_timerproc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from ../source/audioctrl/serviceprocess/ac_msgproc.c:6:0: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioctrl/serviceprocess/ac_msgproc.c:7: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:12, from ../source/audioctrl/serviceprocess/ac_msgproc.c:7: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'ap_CreateCasNodeProc\': ../source/audioctrl/serviceprocess/ac_msgproc.c:428:5: warning: missing braces around initializer [-Wmissing-braces] T_Chan_Sync_c2p_T tChanSyn[SLAVECHANNUM] = {0}; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c:428:5: warning: (near initialization for \'tChanSyn[0]\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'DTMFCreateAck_P2C_Process\': ../source/audioctrl/serviceprocess/ac_msgproc.c:1138:54: warning: unused parameter \'u16Len\' [-Wunused-parameter] void DTMFCreateAck_P2C_Process(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'RouteCheck_P2C_Process\': ../source/audioctrl/serviceprocess/ac_msgproc.c:1203:51: warning: unused parameter \'u16Len\' [-Wunused-parameter] void RouteCheck_P2C_Process(UINT8 *parain, UINT16 u16Len) ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'AC_Dtmf_Add\': ../source/audioctrl/serviceprocess/ac_msgproc.c:1751:29: warning: unused parameter \'req\' [-Wunused-parameter] void AC_Dtmf_Add(T_DtmfAdd *req) ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'AC_Dtmf_Del\': ../source/audioctrl/serviceprocess/ac_msgproc.c:1778:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent rsp={0}; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c:1778:5: warning: (near initialization for \'rsp.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_msgproc.c:1778:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/serviceprocess/ac_msgproc.h:8:0, from ../source/audioctrl/serviceprocess/ac_msgproc.c:8: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'ac_GetConsumeCodecMARK\': ../source/audioctrl/serviceprocess/ac_msgproc.c:2873:63: warning: unused parameter \'StreamDest\' [-Wunused-parameter] UINT8 ac_GetConsumeCodecMARK(UINT8 codec,UINT8 nodetype,UINT8 StreamDest) ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'MixSpeech_SetGain_Proc\': ../source/audioctrl/serviceprocess/ac_msgproc.c:3314:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent rsp = {0}; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c:3314:5: warning: (near initialization for \'rsp.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_msgproc.c:3314:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/serviceprocess/ac_msgproc.h:8:0, from ../source/audioctrl/serviceprocess/ac_msgproc.c:8: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'AC_Stream_UpDate\': ../source/audioctrl/serviceprocess/ac_msgproc.c:3559:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent rsp = {0}; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c:3559:5: warning: (near initialization for \'rsp.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_msgproc.c:3559:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/serviceprocess/ac_msgproc.h:8:0, from ../source/audioctrl/serviceprocess/ac_msgproc.c:8: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c: In function \'UpdateStream_P2C_Process\': ../source/audioctrl/serviceprocess/ac_msgproc.c:3633:5: warning: missing braces around initializer [-Wmissing-braces] T_Normal_Rsp_RestContent response = {0}; ^ ../source/audioctrl/serviceprocess/ac_msgproc.c:3633:5: warning: (near initialization for \'response.srcID\') [-Wmissing-braces] ../source/audioctrl/serviceprocess/ac_msgproc.c:3633:5: warning: missing initializer for field \'code\' of \'T_Normal_Rsp_RestContent\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/audioctrl/serviceprocess/ac_msgproc.h:8:0, from ../source/audioctrl/serviceprocess/ac_msgproc.c:8: /home/workspace/code/apu/include/audioctrl/restprocess/ac_restcreate.h:39:13: note: \'code\' declared here UINT16 code; ^ In file included from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11:0, from ../source/audioctrl/serviceprocess/ac_msgproc.c:7: ../source/audioctrl/serviceprocess/ac_msgproc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/common/ap_qoeproc.c:2: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/common/ap_qoeproc.c:2: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/common/ap_qoeproc.c:2: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ap_Qoe_ZIMESet\': ../source/audioprocess/common/ap_qoeproc.c:75:2: warning: implicit declaration of function \'ZIME_Auido_SetSendSSRC\' [-Wimplicit-function-declaration] if ( FALSE == (UINT8)ZIME_Auido_SetSendSSRC(&g_tAudioChanGlobVars.patQoeAttr[wChanNo].ptZimeAttr, g_tAudioChanGlobVars.patRtpProcAttr[wChanNo].dwSSRCDL) ) ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ap_Qoe_AudioCodecInfoSet\': ../source/audioprocess/common/ap_qoeproc.c:133:2: warning: implicit declaration of function \'ap_GetTermAEncBufLen\' [-Wimplicit-function-declaration] tAudioCodecInfo->s32PacketSize = ap_GetTermAEncBufLen(g_tAudioChanGlobVars.tChanAttrInfo[wChanNo].tStreamInfo.tSubStreamsInfo.tCodecInfo.Codec, ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ap_QoeInit\': ../source/audioprocess/common/ap_qoeproc.c:154:23: warning: unused variable \'tAudioRFC2198Param\' [-Wunused-variable] AudioRFC2198Param_T tAudioRFC2198Param; ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ZIME_AudioDecode_Enqueue\': ../source/audioprocess/common/ap_qoeproc.c:296:2: warning: implicit declaration of function \'ap_WriteRingbuff\' [-Wimplicit-function-declaration] if ( FALSE == ap_WriteRingbuff(&g_tAudioChanGlobVars.patQoeAttr[wChanNo].tDecBuf, (UINT8 *)aucTmpData, wTmpLen) ) ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ZIME_AudioEncode_Enqueue\': ../source/audioprocess/common/ap_qoeproc.c:376:2: warning: implicit declaration of function \'ap_WriteRingbuffEx\' [-Wimplicit-function-declaration] if ( FALSE == ap_WriteRingbuffEx(&g_tAudioChanGlobVars.patQoeAttr[wChanIdx].tEncBuf, ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ap_GetRtpExtType\': ../source/audioprocess/common/ap_qoeproc.c:636:47: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 ap_GetRtpExtType( T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 ChanNo ) ^ ../source/audioprocess/common/ap_qoeproc.c: In function \'ap_SetMixSpeech3MAXTerInfo\': ../source/audioprocess/common/ap_qoeproc.c:651:2: warning: missing braces around initializer [-Wmissing-braces] T_CasTerInfo tCasTerInfo[12] = {0}; ^ ../source/audioprocess/common/ap_qoeproc.c:651:2: warning: (near initialization for \'tCasTerInfo[0]\') [-Wmissing-braces] ../source/audioprocess/common/ap_qoeproc.c:651:2: warning: missing initializer for field \'u16NetLostRate\' of \'T_CasTerInfo\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/common/ap_qoeproc.c:2:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:202:13: note: \'u16NetLostRate\' declared here UINT32 u16NetLostRate; ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/common/ap_qoeproc.c:2: ../source/audioprocess/common/ap_qoeproc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/common/ap_list.h:25, from ../source/audioprocess/common/ap_list.c:13: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/common/ap_list.h:25, from ../source/audioprocess/common/ap_list.c:13: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from /home/workspace/code/apu/include/audioprocess/common/ap_list.h:25, from ../source/audioprocess/common/ap_list.c:13: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from /home/workspace/code/apu/include/audioprocess/common/ap_list.h:25, from ../source/audioprocess/common/ap_list.c:13: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/common/ap_global.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/common/ap_global.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/common/ap_global.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/common/ap_global.c:20:1: warning: missing braces around initializer [-Wmissing-braces] T_AudioShareGlobVars g_ptAudioShareGlobVars[AUDIO_THREAD_MAX_NUM] = {0}; ^ ../source/audioprocess/common/ap_global.c:20:1: warning: (near initialization for \'g_ptAudioShareGlobVars[0]\') [-Wmissing-braces] ../source/audioprocess/common/ap_global.c:23:1: warning: missing braces around initializer [-Wmissing-braces] ApuPcmWriteStat g_ptApuPcmWriteStat[MAX_PCM_WRITE_STAT_NUM] = {0}; ^ ../source/audioprocess/common/ap_global.c:23:1: warning: (near initialization for \'g_ptApuPcmWriteStat[0]\') [-Wmissing-braces] ../source/audioprocess/common/ap_global.c:24:1: warning: missing braces around initializer [-Wmissing-braces] ApuPcmCommonCodecStat g_ptApuPcmCommonCodecStat[CODEC_SUPPORT] = {0}; ^ ../source/audioprocess/common/ap_global.c:24:1: warning: (near initialization for \'g_ptApuPcmCommonCodecStat[0]\') [-Wmissing-braces] ../source/audioprocess/common/ap_global.c: In function \'ap_CSBRegistpro_AddTransCodeTer\': ../source/audioprocess/common/ap_global.c:294:104: warning: unused parameter \'Sessid\' [-Wunused-parameter] UINT16 ap_CSBRegistpro_AddTransCodeTer(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 ChanNo, UINT32 Sessid, UINT64 PortID) ^ ../source/audioprocess/common/ap_global.c: In function \'APU_Write_PacketRing_Buf\': ../source/audioprocess/common/ap_global.c:437:90: warning: unused parameter \'bIsOverWrite\' [-Wunused-parameter] INT32 APU_Write_PacketRing_Buf(T_PacketRing_Buf *Ring_Buf, T_PacketBuffer *In_Buf, UINT8 bIsOverWrite, UINT16 u16MemPoolID) ^ ../source/audioprocess/common/ap_global.c: In function \'APU_RecycleDirtyBuffer\': ../source/audioprocess/common/ap_global.c:447:36: warning: unused parameter \'u16MemPoolID\' [-Wunused-parameter] void APU_RecycleDirtyBuffer(UINT16 u16MemPoolID, MemPoolStat *ptMemPoolStat) ^ ../source/audioprocess/common/ap_global.c:447:63: warning: unused parameter \'ptMemPoolStat\' [-Wunused-parameter] void APU_RecycleDirtyBuffer(UINT16 u16MemPoolID, MemPoolStat *ptMemPoolStat) ^ ../source/audioprocess/common/ap_global.c: In function \'ap_CheckAndWriteFile\': ../source/audioprocess/common/ap_global.c:678:48: warning: unused parameter \'startTime\' [-Wunused-parameter] void ap_CheckAndWriteFile(UINT8 bOpen, UINT64 *startTime, const char *filename, UINT16 chanIndex, FILE **fp, UINT8 *data, UINT16 dataLen) ^ ../source/audioprocess/common/ap_global.c: In function \'ConstructIPv6Header\': ../source/audioprocess/common/ap_global.c:793:61: warning: unused parameter \'Tos\' [-Wunused-parameter] VOID ConstructIPv6Header(UINT8 *SourIP, UINT8 *DestIP, BYTE Tos, BYTE Protcl, WORD32 wLen, T_IPv6Header *ptrTxIPv6Header) ^ ../source/audioprocess/common/ap_global.c: In function \'ap_CopyPackBuff\': ../source/audioprocess/common/ap_global.c:1079:45: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void ap_CopyPackBuff( T_AudioShareGlobVars *ptAudShareGlobVars, T_PacketBuffer *srcPacketBuffer, T_PacketBuffer **dstPacketBuff, T_AllocPacketBufParam *ptAllocPacketBufParam) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/common/ap_global.c:1: ../source/audioprocess/common/ap_global.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/common/ap_ringbuff.h:25, from ../source/audioprocess/common/ap_ringbuff.c:13: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/common/ap_ringbuff.h:25, from ../source/audioprocess/common/ap_ringbuff.c:13: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from /home/workspace/code/apu/include/audioprocess/common/ap_ringbuff.h:25, from ../source/audioprocess/common/ap_ringbuff.c:13: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from /home/workspace/code/apu/include/audioprocess/common/ap_ringbuff.h:25, from ../source/audioprocess/common/ap_ringbuff.c:13: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/decode/ap_decode_proc.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/decode/ap_decode_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/decode/ap_decode_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_QoeDecProc\': ../source/audioprocess/decode/ap_decode_proc.c:206:22: warning: unused variable \'wSize\' [-Wunused-variable] UINT16 wSize = 0; ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_G711UTRxProc\': ../source/audioprocess/decode/ap_decode_proc.c:505:18: warning: variable \'ucPackErr\' set but not used [-Wunused-but-set-variable] UINT8 ucPackErr; ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_G722UTRxProc\': ../source/audioprocess/decode/ap_decode_proc.c:619:18: warning: variable \'ucPackErr\' set but not used [-Wunused-but-set-variable] UINT8 ucPackErr, ucProcCnt; ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_G729UTRxProc\': ../source/audioprocess/decode/ap_decode_proc.c:824:5: warning: "/*" within comment [-Wcomment] /* 记录通道缓存区的读、写游标: 保存读写指针 */ ^ ../source/audioprocess/decode/ap_decode_proc.c:711:18: warning: variable \'ucPackErr\' set but not used [-Wunused-but-set-variable] UINT8 ucPackErr; ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_AMRRxProc\': ../source/audioprocess/decode/ap_decode_proc.c:893:5: warning: "/*" within comment [-Wcomment] /* 记录通道缓存区的读、写游标: 保存读写指针 */ ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_DecodeMP3\': ../source/audioprocess/decode/ap_decode_proc.c:2271:42: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] INT16 ap_DecodeMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2271:68: warning: unused parameter \'ucTermABFlg\' [-Wunused-parameter] INT16 ap_DecodeMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2271:90: warning: unused parameter \'ptUTPdu\' [-Wunused-parameter] INT16 ap_DecodeMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2271:109: warning: unused parameter \'ptBFrm\' [-Wunused-parameter] INT16 ap_DecodeMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c: In function \'ap_DecodeEVS\': ../source/audioprocess/decode/ap_decode_proc.c:2323:42: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] INT16 ap_DecodeEVS(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2323:68: warning: unused parameter \'ucTermABFlg\' [-Wunused-parameter] INT16 ap_DecodeEVS(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2323:90: warning: unused parameter \'ptUTPdu\' [-Wunused-parameter] INT16 ap_DecodeEVS(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ ../source/audioprocess/decode/ap_decode_proc.c:2323:109: warning: unused parameter \'ptBFrm\' [-Wunused-parameter] INT16 ap_DecodeEVS(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucTermABFlg, T_UTPdu *ptUTPdu, T_BFrame *ptBFrm) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/decode/ap_decode_proc.c:15: ../source/audioprocess/decode/ap_decode_proc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/decode/ap_decode_Init.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/decode/ap_decode_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/decode/ap_decode_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_G711DecDtxInit\': ../source/audioprocess/decode/ap_decode_Init.c:214:89: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G711DecDtxInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_AmrNbDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:253:87: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_AmrNbDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_AmrWbDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:288:87: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_AmrWbDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_G729DecInit\': ../source/audioprocess/decode/ap_decode_Init.c:322:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G729DecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_G722DecInit\': ../source/audioprocess/decode/ap_decode_Init.c:358:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G722DecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_Siren14DecInit\': ../source/audioprocess/decode/ap_decode_Init.c:392:89: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_Siren14DecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_SilkDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:428:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_SilkDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_OpusDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:462:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_OpusDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_AaclcDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:556:87: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_AaclcDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c:556:107: warning: unused parameter \'pDecChannelStAddr\' [-Wunused-parameter] UINT16 ap_AaclcDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_G719DecInit\': ../source/audioprocess/decode/ap_decode_Init.c:589:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G719DecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_MP3Decoder_Init\': ../source/audioprocess/decode/ap_decode_Init.c:607:90: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_MP3Decoder_Init(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c:607:110: warning: unused parameter \'pDecChannelStAddr\' [-Wunused-parameter] UINT16 ap_MP3Decoder_Init(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ ../source/audioprocess/decode/ap_decode_Init.c: In function \'ap_EVSDecInit\': ../source/audioprocess/decode/ap_decode_Init.c:623:85: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_EVSDecInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8*pDecChannelStAddr) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/decode/ap_decode_Init.c:15: ../source/audioprocess/decode/ap_decode_Init.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/decode/ap_latmDec.h:4, from ../source/audioprocess/decode/ap_latmDec.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/decode/ap_latmDec.h:4, from ../source/audioprocess/decode/ap_latmDec.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from /home/workspace/code/apu/include/audioprocess/decode/ap_latmDec.h:4, from ../source/audioprocess/decode/ap_latmDec.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'JudgeBitGet\': ../source/audioprocess/decode/ap_latmDec.c:8:39: warning: unused parameter \'num\' [-Wunused-parameter] INT32 JudgeBitGet(UINT8** ptr,UINT32 *num,INT32 startbit,INT32 bitcount,INT32 *currentstartbit,UINT8* maxptr) ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'GASpecificConfig\': ../source/audioprocess/decode/ap_latmDec.c:469:44: warning: unused parameter \'samplingFrequencyIndex\' [-Wunused-parameter] UINT32 samplingFrequencyIndex, ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'AudioSpecificConfigEx\': ../source/audioprocess/decode/ap_latmDec.c:624:11: warning: unused variable \'tmpreadbits\' [-Wunused-variable] INT32 tmpreadbits = 0; ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'ProcDecStrMuxByAudioObjType\': ../source/audioprocess/decode/ap_latmDec.c:761:123: warning: unused parameter \'prog\' [-Wunused-parameter] void ProcDecStrMuxByAudioObjType(UINT8 **ptr, T_DePacketParam *ptMuxEleParam, UINT32 *num, INT32 *currentstartbit, UINT32 prog, UINT32 lay) ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'ProcPayloadMuxFramingOne\': ../source/audioprocess/decode/ap_latmDec.c:1178:40: warning: unused parameter \'ioPayload\' [-Wunused-parameter] UINT8* ioPayload,UINT32 ioPayLoadMaxLe, UINT32 *PayloadLen, UINT32 *nConsumBytes) ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'ProcPayloadMuxFramingNotOne\': ../source/audioprocess/decode/ap_latmDec.c:1226:40: warning: unused parameter \'ioPayload\' [-Wunused-parameter] UINT8* ioPayload,UINT32 ioPayLoadMaxLe, UINT32 *PayloadLen, UINT32 *nConsumBytes) ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'PayloadMux\': ../source/audioprocess/decode/ap_latmDec.c:1272:12: warning: unused variable \'num\' [-Wunused-variable] UINT32 num = 0; ^ ../source/audioprocess/decode/ap_latmDec.c:1270:11: warning: unused variable \'currentstartbit\' [-Wunused-variable] INT32 currentstartbit = CurReadBit; ^ ../source/audioprocess/decode/ap_latmDec.c: In function \'AudioMuxElement\': ../source/audioprocess/decode/ap_latmDec.c:1378:24: warning: unused parameter \'MuxDataLen\' [-Wunused-parameter] UINT32 MuxDataLen, ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from /home/workspace/code/apu/include/audioprocess/decode/ap_latmDec.h:4, from ../source/audioprocess/decode/ap_latmDec.c:1: ../source/audioprocess/decode/ap_latmDec.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/dtmf/ap_dtmf_proc.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/dtmf/ap_dtmf_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/dtmf/ap_dtmf_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/dtmf/ap_dtmf_proc.c: In function \'ap_WhoIsBigger\': ../source/audioprocess/dtmf/ap_dtmf_proc.c:113:30: warning: comparison of promoted ~unsigned with unsigned [-Wsign-compare] if ( (i < ucSpace) && (j > (UINT16)(65535 - (int)ucSpace)) ) ^ ../source/audioprocess/dtmf/ap_dtmf_proc.c:118:13: warning: comparison of promoted ~unsigned with unsigned [-Wsign-compare] if ( (i > (UINT16)(65535 - (int)ucSpace)) && (j < ucSpace) ) ^ ../source/audioprocess/dtmf/ap_dtmf_proc.c: In function \'ap_DtmfMiddleFrame_NotExistEvent\': ../source/audioprocess/dtmf/ap_dtmf_proc.c:332:61: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void ap_DtmfMiddleFrame_NotExistEvent(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo,T_DTMFPayLoad* ptDTMFPayLoad,UINT16 wSeq, UINT32 dwTimeStamp) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/dtmf/ap_dtmf_proc.c:15: ../source/audioprocess/dtmf/ap_dtmf_proc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/encode/ap_latmEnc.h:3, from ../source/audioprocess/encode/ap_latmEnc.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/encode/ap_latmEnc.h:3, from ../source/audioprocess/encode/ap_latmEnc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from /home/workspace/code/apu/include/audioprocess/encode/ap_latmEnc.h:3, from ../source/audioprocess/encode/ap_latmEnc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/encode/ap_latmEnc.c: In function \'PackLATM\': ../source/audioprocess/encode/ap_latmEnc.c:61:38: warning: unused parameter \'tEnPacketParam\' [-Wunused-parameter] INT32 PackLATM(const T_EnPacketParam tEnPacketParam,UINT8* i_pDataBUf,UINT32 i_u32FrameLen, UINT8* io_pBUf, UINT32 i_u32BufMaxLen,UINT32 *i_u32BufLen,INT32 *piCurBit) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from /home/workspace/code/apu/include/audioprocess/encode/ap_latmEnc.h:3, from ../source/audioprocess/encode/ap_latmEnc.c:1: ../source/audioprocess/encode/ap_latmEnc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/encode/ap_encode_proc.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/encode/ap_encode_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/encode/ap_encode_proc.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_OutboundVolCtrl\': ../source/audioprocess/encode/ap_encode_proc.c:725:5: warning: "/*" within comment [-Wcomment] /*if ( CSUP_OK == ap_GetOutboundGain(ptAudShareGlobVars, uwTcNo, &fGain) ) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:48: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:75: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:89: warning: unused parameter \'ucSampRate\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:108: warning: unused parameter \'pwInData\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:124: warning: unused parameter \'wDataLen\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:141: warning: unused parameter \'pwOutData\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c:710:159: warning: unused parameter \'pwOutDataLen\' [-Wunused-parameter] UINT8 ap_OutboundVolCtrl(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucSampRate, INT16 *pwInData, INT16 wDataLen, INT16 *pwOutData, INT16 *pwOutDataLen) ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_AdjustEnClockRate\': ../source/audioprocess/encode/ap_encode_proc.c:931:4: warning: "/*" within comment [-Wcomment] /* if( 1 == g_tAudioChanGlobVars.patChanAttr[wChanNo].tTCAttr.ucAnalyse) ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_EncodeToG711\': ../source/audioprocess/encode/ap_encode_proc.c:957:71: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] VOID ap_EncodeToG711(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 ucCodecType, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_JudgeEncodeInputValid\': ../source/audioprocess/encode/ap_encode_proc.c:1137:80: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] BOOL ap_JudgeEncodeInputValid(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_Siren14EncodeApi\': ../source/audioprocess/encode/ap_encode_proc.c:1802:48: warning: unused parameter \'wInSize\' [-Wunused-parameter] UINT16 wInSize, ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_EncodeToOpus\': ../source/audioprocess/encode/ap_encode_proc.c:1953:80: warning: signed and unsigned type in conditional expression [-Wsign-compare] tOpusEncParam.dwBitRate = (int)(dwBitrate > 0 ? dwBitrate : OPUS_AUTO);//OPUS_AUTO; ^ ../source/audioprocess/encode/ap_encode_proc.c: In function \'ap_EncodeToMP3\': ../source/audioprocess/encode/ap_encode_proc.c:2009:43: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] VOID ap_EncodeToMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ ../source/audioprocess/encode/ap_encode_proc.c:2009:70: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] VOID ap_EncodeToMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ ../source/audioprocess/encode/ap_encode_proc.c:2009:91: warning: unused parameter \'ptInData\' [-Wunused-parameter] VOID ap_EncodeToMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ ../source/audioprocess/encode/ap_encode_proc.c:2009:115: warning: unused parameter \'ptOutData\' [-Wunused-parameter] VOID ap_EncodeToMP3(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, T_EncInData *ptInData, T_EncOutData *ptOutData) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/encode/ap_encode_proc.c:15: ../source/audioprocess/encode/ap_encode_proc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/encode/ap_encode_Init.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/encode/ap_encode_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/encode/ap_encode_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_EncodeInit\': ../source/audioprocess/encode/ap_encode_Init.c:91:106: warning: unused parameter \'ptEncAddr\' [-Wunused-parameter] UINT16 ap_EncodeInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_G729EncInit\': ../source/audioprocess/encode/ap_encode_Init.c:214:72: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_G729EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:214:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G729EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_G722EncInit\': ../source/audioprocess/encode/ap_encode_Init.c:356:72: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_G722EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:356:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_G722EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_Siren14EncInit\': ../source/audioprocess/encode/ap_encode_Init.c:389:75: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_Siren14EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:389:89: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_Siren14EncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_SilkEncInit\': ../source/audioprocess/encode/ap_encode_Init.c:423:72: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_SilkEncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:423:86: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_SilkEncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_MP3Encoder_Init\': ../source/audioprocess/encode/ap_encode_Init.c:650:76: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_MP3Encoder_Init(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:650:90: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_MP3Encoder_Init(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_EvsEncInit\': ../source/audioprocess/encode/ap_encode_Init.c:673:71: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT16 ap_EvsEncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:673:85: warning: unused parameter \'StreamDirect\' [-Wunused-parameter] UINT16 ap_EvsEncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c:673:106: warning: unused parameter \'ptEncAddr\' [-Wunused-parameter] UINT16 ap_EvsEncInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 uwTcNo, UINT8 StreamDirect, UINT8 *ptEncAddr) ^ ../source/audioprocess/encode/ap_encode_Init.c: In function \'ap_PublicEncoderInit\': ../source/audioprocess/encode/ap_encode_Init.c:724:78: warning: unused parameter \'MixerIdx\' [-Wunused-parameter] UINT16 ap_PublicEncoderInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 MixerIdx, UINT8 CodeIdx, UINT8 *ptEncAddr) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/encode/ap_encode_Init.c:15: ../source/audioprocess/encode/ap_encode_Init.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_pubStream.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_pubStream.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/mainctrl/ap_pubStream.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mainctrl/ap_pubStream.c: In function \'ap_SetQoeDelyDate\': ../source/audioprocess/mainctrl/ap_pubStream.c:200:9: warning: implicit declaration of function \'APU_ZIME_GetLatency\' [-Wimplicit-function-declaration] APU_ZIME_GetLatency(&g_tAudioChanGlobVars.patQoeAttr[uiChanID].ptZimeAttr, &qoeDelay); ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/mainctrl/ap_pubStream.c:15: ../source/audioprocess/mainctrl/ap_pubStream.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:38: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11, from ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:38: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:12, from ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:38: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_RelChanResource\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1088:11: warning: unused variable \'ucCodeType\' [-Wunused-variable] UINT8 ucCodeType; ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_RtpRelProc\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1250:13: warning: unused variable \'i\' [-Wunused-variable] UINT16 i = 0; ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1248:13: warning: unused variable \'wCaptureBit\' [-Wunused-variable] UINT16 wCaptureBit; ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_TransCodeStart\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1286:48: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_TransCodeStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1286:75: warning: unused parameter \'wMsgLen\' [-Wunused-parameter] UINT32 ap_TransCodeStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1286:91: warning: unused parameter \'pucMsgBody\' [-Wunused-parameter] UINT32 ap_TransCodeStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_TransCodeStop\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1291:47: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_TransCodeStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1291:74: warning: unused parameter \'wMsgLen\' [-Wunused-parameter] UINT32 ap_TransCodeStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1291:90: warning: unused parameter \'pucMsgBody\' [-Wunused-parameter] UINT32 ap_TransCodeStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_RecordStart\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1357:45: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_RecordStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1357:72: warning: unused parameter \'wMsgLen\' [-Wunused-parameter] UINT32 ap_RecordStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1357:88: warning: unused parameter \'pucMsgBody\' [-Wunused-parameter] UINT32 ap_RecordStart(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_RecordStop\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1362:44: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_RecordStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1362:71: warning: unused parameter \'wMsgLen\' [-Wunused-parameter] UINT32 ap_RecordStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1362:87: warning: unused parameter \'pucMsgBody\' [-Wunused-parameter] UINT32 ap_RecordStop(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_AddTransCodeTerm\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:1834:25: warning: unused variable \'ret\' [-Wunused-variable] UINT8 ret; ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_SetRoleType\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2605:45: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_SetRoleType(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2605:72: warning: unused parameter \'wMsgLen\' [-Wunused-parameter] UINT32 ap_SetRoleType(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2605:88: warning: unused parameter \'pucMsgBody\' [-Wunused-parameter] UINT32 ap_SetRoleType(T_AudioShareGlobVars *ptAudShareGlobVars, size_t wMsgLen, UINT8 *pucMsgBody) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_SetCalcDelayFlag\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2762:13: warning: implicit declaration of function \'APU_ZIME_EnableLatencyStatics\' [-Wimplicit-function-declaration] APU_ZIME_EnableLatencyStatics(&g_tAudioChanGlobVars.patQoeAttr[chanIndex].ptZimeAttr, 1); ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: In function \'ap_Update_Outstream\': ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2998:112: warning: unused parameter \'qIndex\' [-Wunused-parameter] UINT8 ap_Update_Outstream(T_AudioShareGlobVars *ptAudShareGlobVars,T_StreamInfoDetail *tPubStreamsInfo, UINT16 qIndex, UINT16 sessionIndex, UINT16 chanIdex) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:2998:127: warning: unused parameter \'sessionIndex\' [-Wunused-parameter] UINT8 ap_Update_Outstream(T_AudioShareGlobVars *ptAudShareGlobVars,T_StreamInfoDetail *tPubStreamsInfo, UINT16 qIndex, UINT16 sessionIndex, UINT16 chanIdex) ^ In file included from /home/workspace/code/apu/include/audioctrl/common/ac_media.h:11:0, from ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c:38: ../source/audioprocess/mainctrl/ap_AudioProc_Thread.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:15: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:15: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mainctrl/ap_AudioProc_Init.c: In function \'ap_SunitPtlMem\': ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:206:72: warning: unused parameter \'wMypno\' [-Wunused-parameter] UINT32 ap_SunitPtlMem(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMypno) ^ ../source/audioprocess/mainctrl/ap_AudioProc_Init.c: In function \'ap_TmrSetProc\': ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:259:10: warning: unused variable \'ucResult\' [-Wunused-variable] BYTE ucResult; ^ ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:257:44: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT32 ap_TmrSetProc(T_AudioShareGlobVars *ptAudShareGlobVars) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/mainctrl/ap_AudioProc_Init.c:15: ../source/audioprocess/mainctrl/ap_AudioProc_Init.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_appproc.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_appproc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/mainctrl/ap_appproc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_QoeGetFrameBufAdd\': ../source/audioprocess/mainctrl/ap_appproc.c:975:17: warning: implicit declaration of function \'ap_IsNeedGetRtpExtn\' [-Wimplicit-function-declaration] if( ap_IsNeedGetRtpExtn(ptAudShareGlobVars, wChanNo) ) ^ ../source/audioprocess/mainctrl/ap_appproc.c:977:21: warning: implicit declaration of function \'ap_SetMixSpeech3MAXTerInfo\' [-Wimplicit-function-declaration] ap_SetMixSpeech3MAXTerInfo(ptAudShareGlobVars, MaxTerName, &len, g_tAudioChanGlobVars.patTerminalParam[wChanNo].wTsInUse, wChanNo); ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_DLBufPubProc\': ../source/audioprocess/mainctrl/ap_appproc.c:1023:84: warning: unused parameter \'ucCodeType\' [-Wunused-parameter] void ap_DLBufPubProc(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo, UINT8 ucCodeType, UINT16 wPktLen, T_DlSendBuf *ptDlSendBuf, T_DelayInfo *delayInfo) ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_GetAaclcSamplingIdx\': ../source/audioprocess/mainctrl/ap_appproc.c:1197:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0;i < sizeof(g_Aaclc_adts_sampling_table)/sizeof(T_Sampling_Index);i++) ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_AaclcHeadPack\': ../source/audioprocess/mainctrl/ap_appproc.c:1208:15: warning: unused variable \'obj_type\' [-Wunused-variable] unsigned int obj_type = 0; ^ ../source/audioprocess/mainctrl/ap_appproc.c:1206:143: warning: unused parameter \'i_u32BufMaxLen\' [-Wunused-parameter] UINT8 ap_AaclcHeadPack(int sampling,UINT8 channels,unsigned char* i_pDataBUf,unsigned int i_u32FrameLen, unsigned char* io_pBUf, unsigned int i_u32BufMaxLen,unsigned short int *i_u32BufLen) ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_TermAAmrPack\': ../source/audioprocess/mainctrl/ap_appproc.c:1301:45: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 ap_TermAAmrPack(T_AudioShareGlobVars *ptAudShareGlobVars,UINT16 wChanNo, T_AS_SEND_MSG *tSendMsg, UINT8 *outTmp) ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_PubbuffData\': ../source/audioprocess/mainctrl/ap_appproc.c:1475:13: warning: implicit declaration of function \'ap_QoeEncDequeue\' [-Wimplicit-function-declaration] ap_QoeEncDequeue(ptAudShareGlobVars, wChNo, ptSendBuf->aucPayload, ptSendBuf->wPackLen, delayInfo); ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_PubDataOneMoreFrame\': ../source/audioprocess/mainctrl/ap_appproc.c:1508:51: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void ap_PubDataOneMoreFrame(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo , UINT8 *pucSrcBuf ,UINT8 ucCurFrameCnt, INT16 wPktLen, T_AS_SEND_MSG *ptSendBuf,T_DlSendBuf *ptDlSendBuf) ^ ../source/audioprocess/mainctrl/ap_appproc.c: In function \'ap_PubDataOneFrame\': ../source/audioprocess/mainctrl/ap_appproc.c:1547:47: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void ap_PubDataOneFrame(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo, UINT8 *pucDstBuf , UINT8 *pucSrcBuf ,UINT8 ucCurFrameCnt, INT16 wPktLen, T_AS_SEND_MSG *ptSendBuf,T_DlSendBuf *ptDlSendBuf) ^ ../source/audioprocess/mainctrl/ap_appproc.c:1547:89: warning: unused parameter \'pucDstBuf\' [-Wunused-parameter] void ap_PubDataOneFrame(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo, UINT8 *pucDstBuf , UINT8 *pucSrcBuf ,UINT8 ucCurFrameCnt, INT16 wPktLen, T_AS_SEND_MSG *ptSendBuf,T_DlSendBuf *ptDlSendBuf) ^ ../source/audioprocess/mainctrl/ap_appproc.c:1547:109: warning: unused parameter \'pucSrcBuf\' [-Wunused-parameter] void ap_PubDataOneFrame(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo, UINT8 *pucDstBuf , UINT8 *pucSrcBuf ,UINT8 ucCurFrameCnt, INT16 wPktLen, T_AS_SEND_MSG *ptSendBuf,T_DlSendBuf *ptDlSendBuf) ^ ../source/audioprocess/mainctrl/ap_appproc.c:1547:127: warning: unused parameter \'ucCurFrameCnt\' [-Wunused-parameter] void ap_PubDataOneFrame(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChNo, UINT8 *pucDstBuf , UINT8 *pucSrcBuf ,UINT8 ucCurFrameCnt, INT16 wPktLen, T_AS_SEND_MSG *ptSendBuf,T_DlSendBuf *ptDlSendBuf) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/mainctrl/ap_appproc.c:1: ../source/audioprocess/mainctrl/ap_appproc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_subStream.c:37: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mainctrl/ap_subStream.c:37: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/mainctrl/ap_subStream.c:37: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mainctrl/ap_subStream.c:97:5: warning: "/*" within comment [-Wcomment] /*u16MemPoolID = g_tAudioChanGlobVars.tChanAttrInfo[ChanNo].AudioProcPno - AUDIOPROC_THREAD_PNO_MIN; ^ ../source/audioprocess/mainctrl/ap_subStream.c: In function \'ap_AdjustAmrParam\': ../source/audioprocess/mainctrl/ap_subStream.c:314:46: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void ap_AdjustAmrParam(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo, UINT8 *pucData, T_UserPrm_DSP2DSP *ptUserPrm) ^ ../source/audioprocess/mainctrl/ap_subStream.c: In function \'ap_QoeReceivedRTPProc\': ../source/audioprocess/mainctrl/ap_subStream.c:427:125: warning: unused parameter \'u16MemPoolID\' [-Wunused-parameter] void ap_QoeReceivedRTPProc(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo, T_PacketBuffer *tSubPackBuffer, UINT16 u16MemPoolID ) ^ ../source/audioprocess/mainctrl/ap_subStream.c: In function \'ap_PostDecTask\': ../source/audioprocess/mainctrl/ap_subStream.c:622:111: warning: unused parameter \'u16MemPoolID\' [-Wunused-parameter] void ap_PostDecTask(T_AudioShareGlobVars* ptAudShareGlobVars, UINT16 wChanNo, T_PacketBuffer *postSub, UINT16 u16MemPoolID) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/mainctrl/ap_subStream.c:37: ../source/audioprocess/mainctrl/ap_subStream.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mixspeech/ap_mixspeech.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/mixspeech/ap_mixspeech.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/mixspeech/ap_mixspeech.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_DecideIsDecodeByAudoPower\': ../source/audioprocess/mixspeech/ap_mixspeech.c:226:12: warning: unused variable \'i\' [-Wunused-variable] UINT16 i = 0; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_setLastSortChanArray\': ../source/audioprocess/mixspeech/ap_mixspeech.c:436:53: warning: unused parameter \'ptAudioShareGlobVars\' [-Wunused-parameter] void ap_setLastSortChanArray(T_AudioShareGlobVars * ptAudioShareGlobVars, UINT16 wMixSpeechID) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_CalcGetPacketDelay\': ../source/audioprocess/mixspeech/ap_mixspeech.c:628:35: warning: unused parameter \'ChanNo\' [-Wunused-parameter] void ap_CalcGetPacketDelay(UINT16 ChanNo, T_PacketBuffer *Out_Buf) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SetEmptyPacketPowerSNR\': ../source/audioprocess/mixspeech/ap_mixspeech.c:690:110: warning: unused parameter \'Out_Buf\' [-Wunused-parameter] void ap_SetEmptyPacketPowerSNR( T_AudioShareGlobVars * ptAudioShareGlobVars, UINT16 wChanNo, T_PacketBuffer *Out_Buf ) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_GetMixCasData\': ../source/audioprocess/mixspeech/ap_mixspeech.c:833:83: warning: unused parameter \'len\' [-Wunused-parameter] void ap_GetMixCasData(T_AudioShareGlobVars *ptAudShareGlobVars,UINT8 *Buf, UINT16 len, UINT16 wChanNo) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SwitchQoePro\': ../source/audioprocess/mixspeech/ap_mixspeech.c:971:46: warning: unused parameter \'ptAudioShareGlobVars\' [-Wunused-parameter] void ap_SwitchQoePro( T_AudioShareGlobVars * ptAudioShareGlobVars, UINT16 wChanNo ) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_PatchToOthersSVC\': ../source/audioprocess/mixspeech/ap_mixspeech.c:1002:146: warning: unused parameter \'u16MemPoolID\' [-Wunused-parameter] void ap_PatchToOthersSVC(T_AudioShareGlobVars* ptAudShareGlobVars, UINT16 wMixSpeechID, UINT16 SortChan, T_PacketBuffer *TerMixPackBuffer,UINT16 u16MemPoolID) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_DistrbuteRtpToChan\': ../source/audioprocess/mixspeech/ap_mixspeech.c:1090:51: warning: unused parameter \'ptAudioShareGlobVars\' [-Wunused-parameter] void ap_DistrbuteRtpToChan(T_AudioShareGlobVars * ptAudioShareGlobVars, UINT16 wMixSpeechID) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:1090:80: warning: unused parameter \'wMixSpeechID\' [-Wunused-parameter] void ap_DistrbuteRtpToChan(T_AudioShareGlobVars * ptAudioShareGlobVars, UINT16 wMixSpeechID) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'IsInChanArray\': ../source/audioprocess/mixspeech/ap_mixspeech.c:1761:70: warning: unused parameter \'wMixSpeechID\' [-Wunused-parameter] UINT8 IsInChanArray(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMixSpeechID, UINT16 ChanNo, UINT16* ChanArray) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SetTerMixRtpExtCommon\': ../source/audioprocess/mixspeech/ap_mixspeech.c:2392:5: warning: missing braces around initializer [-Wmissing-braces] T_CasTerInfo tCasTerInfo = {0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:2392:5: warning: (near initialization for \'tCasTerInfo.TerNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:2392:5: warning: missing initializer for field \'u16NetLostRate\' of \'T_CasTerInfo\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:202:13: note: \'u16NetLostRate\' declared here UINT32 u16NetLostRate; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:2377:129: warning: unused parameter \'Pos\' [-Wunused-parameter] void ap_SetTerMixRtpExtCommon(T_AudioShareGlobVars *ptAudShareGlobVars, T_PacketBuffer *TerMixPackBuffer, UINT16 wChanNo, UINT8 Pos ) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SetCasRtpExt\': ../source/audioprocess/mixspeech/ap_mixspeech.c:2456:5: warning: missing braces around initializer [-Wmissing-braces] T_CasTerInfo tCasTerInfo ={0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:2456:5: warning: (near initialization for \'tCasTerInfo.TerNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:2456:5: warning: missing initializer for field \'u16NetLostRate\' of \'T_CasTerInfo\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:202:13: note: \'u16NetLostRate\' declared here UINT32 u16NetLostRate; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SetCasRtpExtFilterCasChanNo\': ../source/audioprocess/mixspeech/ap_mixspeech.c:2604:5: warning: missing braces around initializer [-Wmissing-braces] T_CasTerInfo tCasTerInfo ={0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:2604:5: warning: (near initialization for \'tCasTerInfo.TerNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:2604:5: warning: missing initializer for field \'u16NetLostRate\' of \'T_CasTerInfo\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:202:13: note: \'u16NetLostRate\' declared here UINT32 u16NetLostRate; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_SetEmptyFrmExt\': ../source/audioprocess/mixspeech/ap_mixspeech.c:2664:5: warning: missing braces around initializer [-Wmissing-braces] T_CasTerInfo tCasTerInfo = {0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:2664:5: warning: (near initialization for \'tCasTerInfo.TerNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:2664:5: warning: missing initializer for field \'u16NetLostRate\' of \'T_CasTerInfo\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:202:13: note: \'u16NetLostRate\' declared here UINT32 u16NetLostRate; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'ap_AVCEncSendtoSVC\': ../source/audioprocess/mixspeech/ap_mixspeech.c:2875:48: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 ap_AVCEncSendtoSVC(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 *ptEncAddr, UINT8 *pData, UINT16 uwDataLen, UINT16* OutLen, UINT8 *OutData ) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_TerlistChanged\': ../source/audioprocess/mixspeech/ap_mixspeech.c:3911:5: warning: missing braces around initializer [-Wmissing-braces] T_AudioTerList terlist = {0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:3911:5: warning: (near initialization for \'terlist.chanNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:3911:5: warning: missing initializer for field \'num\' of \'T_AudioTerList\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:125:12: note: \'num\' declared here UINT16 num; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_MixSpeechMaxTalkerReport\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4047:9: warning: missing braces around initializer [-Wmissing-braces] T_AudioTerList terlist = {0}; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:4047:9: warning: (near initialization for \'terlist.chanNo\') [-Wmissing-braces] ../source/audioprocess/mixspeech/ap_mixspeech.c:4047:9: warning: missing initializer for field \'num\' of \'T_AudioTerList\' [-Wmissing-field-initializers] In file included from ../source/audioprocess/mixspeech/ap_mixspeech.c:1:0: /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:125:12: note: \'num\' declared here UINT16 num; ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_MixSpeechSetRoleType\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4107:53: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] VOID apu_MixSpeechSetRoleType(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMixSpeechID, UINT16 wTermIndex, UINT8 roleType) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_ResetBufPoint\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4181:47: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 apu_ResetBufPoint(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo, UINT8 wSetType) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_SetBufRd\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4202:42: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 apu_SetBufRd(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucUtRxPackWTmp, UINT16 wChanNo, UINT8 wSetType) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_DateGetProc\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4241:92: warning: unused parameter \'ptRevPayload\' [-Wunused-parameter] UINT8 apu_DateGetProc(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo, T_Payload *ptRevPayload, UINT8 wSetType) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_SetBufWt\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4289:42: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 apu_SetBufWt(T_AudioShareGlobVars *ptAudShareGlobVars, UINT8 ucUtRxPackWTmp, UINT16 wChanNo, UINT8 wSetType) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_MixSpeechBuffGet\': ../source/audioprocess/mixspeech/ap_mixspeech.c:4362:49: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] void apu_MixSpeechBuffGet(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wChanNo) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c: In function \'apu_Add_TransCodeTerminal_Init\': ../source/audioprocess/mixspeech/ap_mixspeech.c:5071:60: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 apu_Add_TransCodeTerminal_Init(T_AudioShareGlobVars *ptAudShareGlobVars,UINT16 wTransCodeID,UINT16 wTermIndex,T_TransCodeTERM_ADD_c2p_T *ptTermAdd) ^ ../source/audioprocess/mixspeech/ap_mixspeech.c:5071:145: warning: unused parameter \'ptTermAdd\' [-Wunused-parameter] UINT8 apu_Add_TransCodeTerminal_Init(T_AudioShareGlobVars *ptAudShareGlobVars,UINT16 wTransCodeID,UINT16 wTermIndex,T_TransCodeTERM_ADD_c2p_T *ptTermAdd) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/mixspeech/ap_mixspeech.c:1: ../source/audioprocess/mixspeech/ap_mixspeech.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/mixspeech/ap_mixspeech_Init.h:8, from ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from /home/workspace/code/apu/include/audioprocess/mixspeech/ap_mixspeech_Init.h:8, from ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from /home/workspace/code/apu/include/audioprocess/mixspeech/ap_mixspeech_Init.h:8, from ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/mixspeech/ap_mixspeech_Init.c: In function \'apu_MixspeechShareInit\': ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:18:53: warning: unused parameter \'ptAudShareGlobVars\' [-Wunused-parameter] UINT8 apu_MixspeechShareInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMypno, UINT16 wMaxChanNum) ^ ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:18:80: warning: unused parameter \'wMypno\' [-Wunused-parameter] UINT8 apu_MixspeechShareInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMypno, UINT16 wMaxChanNum) ^ ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:18:95: warning: unused parameter \'wMaxChanNum\' [-Wunused-parameter] UINT8 apu_MixspeechShareInit(T_AudioShareGlobVars *ptAudShareGlobVars, UINT16 wMypno, UINT16 wMaxChanNum) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from /home/workspace/code/apu/include/audioprocess/mixspeech/ap_mixspeech_Init.h:8, from ../source/audioprocess/mixspeech/ap_mixspeech_Init.c:1: ../source/audioprocess/mixspeech/ap_mixspeech_Init.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/IntProc/ap_LinearProc.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/audioprocess/IntProc/ap_LinearProc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/audioprocess/IntProc/ap_LinearProc.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB8kTo16kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:148:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB8kTo16kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB8kTo32kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:204:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB8kTo32kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB8kTo48kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:255:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB8kTo48kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB16kTo48kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:306:35: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB16kTo48kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB32kTo48kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:357:35: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB32kTo48kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB16kTo32kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:410:35: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB16kTo32kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInBuf, UINT16 uwInDataLen, INT16 *wOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB16kTo8kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:462:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB16kTo8kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB32kTo8kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:517:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB32kTo8kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB48kTo8kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:574:34: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB48kTo8kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB48kTo16kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:631:35: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB48kTo16kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB48kTo32kProc\': ../source/audioprocess/IntProc/ap_LinearProc.c:688:35: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB48kTo32kProc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ ../source/audioprocess/IntProc/ap_LinearProc.c: In function \'ap_TermB48kTo44100Proc\': ../source/audioprocess/IntProc/ap_LinearProc.c:746:37: warning: unused parameter \'uwTcNo\' [-Wunused-parameter] UINT8 ap_TermB48kTo44100Proc(UINT16 uwTcNo, E_SPRC_INIT_STAT *peSprcInitStat, UINT8 *pucChannelStAddr, INT16 *pwInData, UINT16 pwInLen, INT16 *pwOutData, INT16 *pwOutLen) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/audioprocess/IntProc/ap_LinearProc.c:1: ../source/audioprocess/IntProc/ap_LinearProc.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/common/apu_util.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/common/apu_util.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/common/apu_util.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/common/apu_util.c:92:1: warning: missing braces around initializer [-Wmissing-braces] StatisticInfo gApuStatReport = {0}; ^ ../source/common/apu_util.c:92:1: warning: (near initialization for \'gApuStatReport.Id\') [-Wmissing-braces] ../source/common/apu_util.c:92:1: warning: missing initializer for field \'Name\' of \'StatisticInfo\' [-Wmissing-field-initializers] In file included from /home/workspace/code/apu/include/common/apu/apu_util.h:30:0, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/common/apu_util.c:1: /home/workspace/framework/interface/interhead/report.h:84:11: note: \'Name\' declared here UINT8 Name[MAX_REPORT_NAME_LEN]; //XPU的NAME ^ ../source/common/apu_util.c: In function \'apu_JsonEncode_Value\': ../source/common/apu_util.c:237:36: warning: unused parameter \'in_s\' [-Wunused-parameter] UINT8 apu_JsonEncode_Value(UINT8 * in_s,int32_t in_v,PJSON ptJson,UINT8* key) ^ ../source/common/apu_util.c: In function \'apu_JsonEncode_Value64\': ../source/common/apu_util.c:247:51: warning: unused parameter \'in_v\' [-Wunused-parameter] UINT8 apu_JsonEncode_Value64(UINT8 * in_s,int32_t in_v,PJSON ptJson,UINT8* key) ^ ../source/common/apu_util.c: In function \'apu_JsonEncode_String\': ../source/common/apu_util.c:256:50: warning: unused parameter \'in_v\' [-Wunused-parameter] UINT8 apu_JsonEncode_String(UINT8 * in_s,int32_t in_v,PJSON ptJson,UINT8* key) ^ ../source/common/apu_util.c: In function \'Timer5_Stat_Proc\': ../source/common/apu_util.c:325:30: warning: unused parameter \'parain\' [-Wunused-parameter] void Timer5_Stat_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/common/apu_util.c:325:45: warning: unused parameter \'u16Len\' [-Wunused-parameter] void Timer5_Stat_Proc(UINT8 *parain, UINT16 u16Len) ^ ../source/common/apu_util.c: In function \'Apu_Print_Mix_Term_Packstat\': ../source/common/apu_util.c:501:62: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Apu_Print_Mix_Term_Packstat(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_util.c: In function \'Apu_print_TermInfo\': ../source/common/apu_util.c:550:53: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Apu_print_TermInfo(char para[][URI_LEN], UINT8 paraNum) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/common/apu_util.c:1: ../source/common/apu_util.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ In file included from /home/workspace/code/apu/include/common/apu/apu_tracelog.h:14:0, from ../source/common/apu_tracelog.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/apu/apu_memdef.h:10, from ../source/common/apu_memdef.c:6: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/mallocmem.h:44, from /home/workspace/code/apu/include/common/apu/apu_memdef.h:10, from ../source/common/apu_memdef.c:6: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/common/apu_memdef.c:10:1: warning: missing initializer for field \'tMemoryInfo\' of \'MemoryStat\' [-Wmissing-field-initializers] MemoryStat gtApuMemStat = {0, 0, 0, 0, "apu"}; ^ In file included from /home/workspace/code/apu/include/common/apu/apu_memdef.h:10:0, from ../source/common/apu_memdef.c:6: /home/workspace/framework/interface/interhead/mallocmem.h:164:21: note: \'tMemoryInfo\' declared here MemoryInfo tMemoryInfo; ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:24:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/common/apu_show.c:1: /home/workspace/framework/interface/3rdhead/zxinos/rest/ipcagent.h:390:1: warning: multi-line comment [-Wcomment] //#define AsendR01(UINT16 event, UINT8* pSendMsg, UINT32 msglen, UINT8 * service, PID destPID, 0, UINT8 policy, UINT8 retry, PID *outPID);\\ ^ In file included from /home/workspace/framework/interface/interhead/xps_xpu_def.h:25:0, from /home/workspace/framework/interface/interhead/xps_xpu_func.h:22, from /home/workspace/code/apu/include/common/apu/apu_util.h:26, from /home/workspace/code/apu/include/common/apu/apumedia.h:40, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44, from ../source/common/apu_show.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ In file included from /home/workspace/code/apu/include/common/common/apu_interface.h:18:0, from /home/workspace/code/apu/include/common/common/mps_commondef.h:43, from /home/workspace/code/apu/include/audioctrl/restprocess/ac_restdef.h:9, from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:45, from ../source/common/apu_show.c:1: /home/workspace/framework/interface/interhead/log.h:280:1: warning: "/*" within comment [-Wcomment] /************************************************************************** ^ ../source/common/apu_show.c: In function \'Show_Session_ALL\': ../source/common/apu_show.c:36:51: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Show_Session_ALL(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'Show_Session_ALL_Json\': ../source/common/apu_show.c:156:9: warning: implicit declaration of function \'apu_FreeJsonObject\' [-Wimplicit-function-declaration] apu_FreeJsonObject(pJsStr); ^ ../source/common/apu_show.c: In function \'Show_ConfChan_By_SessionIndex\': ../source/common/apu_show.c:456:64: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Show_ConfChan_By_SessionIndex(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'Show_Chan_ALL\': ../source/common/apu_show.c:482:48: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Show_Chan_ALL(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'Show_MixerChan_Volume_Info\': ../source/common/apu_show.c:575:61: warning: unused parameter \'paraNum\' [-Wunused-parameter] void Show_MixerChan_Volume_Info(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'VTCP_Start_Chan_WritePcmFlag\': ../source/common/apu_show.c:680:63: warning: unused parameter \'paraNum\' [-Wunused-parameter] void VTCP_Start_Chan_WritePcmFlag(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'VTCP_Stop_Chan_WritePcmFlag\': ../source/common/apu_show.c:702:62: warning: unused parameter \'paraNum\' [-Wunused-parameter] void VTCP_Stop_Chan_WritePcmFlag(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_OpenOrClose_CodecCommon_WritePcmFlag\': ../source/common/apu_show.c:727:75: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_OpenOrClose_CodecCommon_WritePcmFlag(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_CalcDelay\': ../source/common/apu_show.c:761:5: warning: implicit declaration of function \'AC_CalcDelay\' [-Wimplicit-function-declaration] AC_CalcDelay(mediaType, srcTerNo, dstTerNo, calcFlag); ^ ../source/common/apu_show.c: In function \'APU_CalcFullWorkFlowDelay\': ../source/common/apu_show.c:815:60: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_CalcFullWorkFlowDelay(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_PrintFlowDelayInfo_Json\': ../source/common/apu_show.c:861:9: warning: implicit declaration of function \'ZXMS_Get_Ms_Time\' [-Wimplicit-function-declaration] UINT32 delay = ZXMS_Get_Ms_Time(&(pFlowDelay->calcInfo[i].calTimeStamp), &(pFlowDelay->calcInfo[i].recTimeStamp)); ^ ../source/common/apu_show.c: In function \'APU_ShowFullWorkFlowDelay\': ../source/common/apu_show.c:926:60: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_ShowFullWorkFlowDelay(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_ShowQoeVersion\': ../source/common/apu_show.c:953:53: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_ShowQoeVersion(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_ShowResourceUsage\': ../source/common/apu_show.c:986:56: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_ShowResourceUsage(char para[][URI_LEN], UINT8 paraNum) ^ ../source/common/apu_show.c: In function \'APU_ShowRestQueue\': ../source/common/apu_show.c:1034:52: warning: unused parameter \'paraNum\' [-Wunused-parameter] void APU_ShowRestQueue(char para[][URI_LEN], UINT8 paraNum) ^ In file included from /home/workspace/code/apu/include/audioprocess/common/ap_commondef.h:44:0, from ../source/common/apu_show.c:1: ../source/common/apu_show.c: At top level: /home/workspace/code/apu/include/common/apu/apumedia.h:336:15: warning: \'g_Audio_AMRWB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRWB_BitRate[AMR_WB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:340:14: warning: \'g_Audio_AMRNB_BitRate\' defined but not used [-Wunused-variable] static INT32 g_Audio_AMRNB_BitRate[AMR_NB_MODE_NUM] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:344:15: warning: \'amrNbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrNbTypeToLen[AMR15_NO_TRANSMISSION+1] ={ ^ /home/workspace/code/apu/include/common/apu/apumedia.h:363:15: warning: \'amrWbTypeToLen\' defined but not used [-Wunused-variable] static UINT16 amrWbTypeToLen[WB_AMR15_NO_TRANSMISSION+1] ={ ^ ar: creating ../object/libapu.a --------------------------------------------------------------- Success!!!! Compilation completed, thank you! \\n +++ Compile apu completed, thank you! +++ \\n do you want to complie another process [y/n]: \\n EOF '; my $regex = qr/^(?:\s*(?:\[.*\]\s*)?([^ ]*\.[chpimxsola0-9]+):(?:(\d*):(?:\d*:)*\s*(?:(warning|error|note)\s*:|\s*(.*))|\s*(undefined reference to.*))(.*)|.*ld:\s*(.*-l(.*)))$/mp; if ( $str =~ /$regex/g ) { print "Whole match is ${^MATCH} and its start/end positions can be obtained via \$-[0] and \$+[0]\n"; # print "Capture Group 1 is $1 and its start/end positions can be obtained via \$-[1] and \$+[1]\n"; # print "Capture Group 2 is $2 ... and so on\n"; } # ${^POSTMATCH} and ${^PREMATCH} are also available with the use of '/p' # Named capture groups can be called via $+{name}

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Perl, please visit: http://perldoc.perl.org/perlre.html