在MTK6225平台下真机new一下编译到liaudio目录出现以下错误:
make[1]: Entering directory `F:/c language/V25/V25'
Compiling l1audio/afe2.c ...
"l1audio\am.h", line 383: Warning: C2215W: Deprecated declaration AM_EnterSpeechOff() - give arg types
"l1audio\am.h", line 384: Warning: C2215W: Deprecated declaration AM_LeaveSpeechOff() - give arg types
"l1audio\afe2.c", line 903: Error: C2456E: undeclared name, inventing 'extern int AFE_SWITCH_LOOPBACK'
"l1audio\afe2.c", line 903: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 915: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 926: Error: C2456E: undeclared name, inventing 'extern int AFE_SET_INPUT_SRC'
"l1audio\afe2.c", line 926: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 945: Error: C2456E: undeclared name, inventing 'extern int AFE_SET_MIC_VOLUME'
"l1audio\afe2.c", line 945: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 964: Error: C2456E: undeclared name, inventing 'extern int AFE_SET_SIDETONE_VOLUME'
"l1audio\afe2.c", line 964: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 1019: Error: C2456E: undeclared name, inventing 'extern int AFE_SET_OUTPUT_DEVICE'
"l1audio\afe2.c", line 1019: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 1170: Error: C2456E: undeclared name, inventing 'extern int AFE_SET_OUTPUT_VOLUME'
"l1audio\afe2.c", line 1170: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 1393: Error: C2456E: undeclared name, inventing 'extern int AFE_SWITCH_FIR'
"l1audio\afe2.c", line 1393: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 1423: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 1761: Error: C2456E: undeclared name, inventing 'extern int AFE_DIGI_GAIN'
"l1audio\afe2.c", line 1761: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 2047: Error: C2456E: undeclared name, inventing 'extern int AFE_GAIN'
"l1audio\afe2.c", line 2047: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
"l1audio\afe2.c", line 2116: Error: C3029E: <argument 3 to 'kal_trace'>: implicit cast of non-0 int to pointer
l1audio\afe2.c: 2 warnings, 21 errors, 0 serious errors
make[1]: *** [afe2.obj] Error 1
make[1]: Leaving directory `F:/c language/V25/V25'
------解决方案--------------------------------------------------------
AFE_SWITCH_LOOPBACK 等 在的头文件包含了么?
------解决方案--------------------------------------------------------
找找头文件吧 这些是在low level的头文件里给的
应该是在l1audio的文件夹下面有
可能是没有release
------解决方案--------------------------------------------------------
看tst\database_classb\pstrace_db\ps_trace.h有没生成成功,没有的话要重新codegen下 再remake工程