编译本机音频样本时出错

时间:2011-12-06 11:23:44

标签: android-ndk

我是Android原生的新手,试图编译原生音频样本(Android 2.3), 编译时显示错误:未声明如下

这是我的错误的一部分:

apps/na/project/jni/native-audio-jni.c:562: error: 'bqPlayerObject' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:565: error: 'bqPlayerPlay' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:566: error: 'bqPlayerBufferQueue' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:567: error: 'bqPlayerEffectSend' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:571: error: 'fdPlayerObject' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:574: error: 'fdPlayerPlay' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:575: error: 'fdPlayerSeek' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:579: error: 'uriPlayerObject' undeclared(first use in this function)
apps/na/project/jni/native-audio-jni.c:582: error: 'uriPlayerPlay' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:583: error: 'uriPlayerSeek' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:587: error: 'recorderObject' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:590: error: 'recorderRecord' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:591: error: 'recorderBufferQueue' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:595: error: 'outputMixObject' undeclared(first use in this function)
apps/na/project/jni/native-audio-jni.c:598: error: 'outputMixEnvironmentalReverb' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:602: error: 'engineObject' undeclared (first use in this function)
apps/na/project/jni/native-audio-jni.c:605: error: 'engineEngine' undeclared (first use in this function)
make: *** [out/apps/na/armeabi/objs/native-audio-jni/native-audio-jni.o] Error 1

任何人都可以帮我编译吗?我之前从未遇到过openMAX api。

0 个答案:

没有答案