2012-10-30 36 views
-1

本機音頻的NDK構建導致出現以下錯誤,是否有任何線索?在android-NDK構建的Native-audio示例中導致以下錯誤

jni/native-audio-jni.c:721: error: 'bqPlayerPlay' undeclared (first use in this function) 
jni/native-audio-jni.c:722: error: 'bqPlayerBufferQueue' undeclared (first use in this function) 
jni/native-audio-jni.c:723: error: 'bqPlayerEffectSend' undeclared (first use in this function) 
jni/native-audio-jni.c:724: error: 'bqPlayerMuteSolo' undeclared (first use in this function) 
jni/native-audio-jni.c:725: error: 'bqPlayerVolume' undeclared (first use in this function) 
jni/native-audio-jni.c:729: error: 'fdPlayerObject' undeclared (first use in this function) 
jni/native-audio-jni.c:732: error: 'fdPlayerPlay' undeclared (first use in this function) 
jni/native-audio-jni.c:733: error: 'fdPlayerSeek' undeclared (first use in this function) 
jni/native-audio-jni.c:734: error: 'fdPlayerMuteSolo' undeclared (first use in this function) 
jni/native-audio-jni.c:735: error: 'fdPlayerVolume' undeclared (first use in this function) 
jni/native-audio-jni.c:739: error: 'uriPlayerObject' undeclared (first use in this function) 
jni/native-audio-jni.c:742: error: 'uriPlayerPlay' undeclared (first use in this function) 
jni/native-audio-jni.c:743: error: 'uriPlayerSeek' undeclared (first use in this function) 
jni/native-audio-jni.c:744: error: 'uriPlayerMuteSolo' undeclared (first use in this function) 
jni/native-audio-jni.c:745: error: 'uriPlayerVolume' undeclared (first use in this function) 
jni/native-audio-jni.c:749: error: 'recorderObject' undeclared (first use in this function) 
jni/native-audio-jni.c:752: error: 'recorderRecord' undeclared (first use in this function) 
jni/native-audio-jni.c:753: error: 'recorderBufferQueue' undeclared (first use in this function) 
jni/native-audio-jni.c:757: error: 'outputMixObject' undeclared (first use in this function) 
jni/native-audio-jni.c:760: error: 'outputMixEnvironmentalReverb' undeclared (first use in this function) 
jni/native-audio-jni.c:764: error: 'engineObject' undeclared (first use in this function) 
jni/native-audio-jni.c:767: error: 'engineEngine' undeclared (first use in this function) 

謝謝

回答

1

如果從命令行建設,嘗試

NDK建造TARGET_PLATFORM = Android的9

+0

哇...,像變魔術一樣,感謝Sathish所在,你是拯救生命。 –

+0

我只能在你給出答案後10分鐘後做:P –

+0

@sathish ......爲什麼這被評爲-1?任何線索? –

相關問題