本文共 1183 字,大约阅读时间需要 3 分钟。
错误大致显示如下信息:
04-14 07:39:18.325: E/AudioEffect(20584): set(): AudioFlinger could not create effect, status: -104-14 07:39:18.325: E/libOpenSLES(20584): Effect initCheck() returned -104-14 07:39:18.325: E/libOpenSLES(20584): EnvironmentalReverb effect initialization failed04-14 07:39:18.335: I/MediaExtractor(20584): Autodetected media content as 'audio/mpeg' with confidence 0.2004-14 07:39:18.335: I/OMXCodec(20584): OMXCodec::Create matchComponentName ((null)), flags (0)04-14 07:39:18.335: D/OMXCodec(20584): componentName=OMX.SEC.mp3dec, quirks=73728, flags=004-14 07:39:18.340: I/OMXCodec(20584): start()04-14 07:39:18.340: I/OMXCodec(20584): init()04-14 07:39:18.340: I/OMXCodec(20584): [OMX.SEC.mp3dec] allocating 10 buffers of size 81920 on input port04-14 07:39:18.350: I/OMXCodec(20584): [OMX.SEC.mp3dec] allocating 5 buffers of size 27648 on output port04-14 07:39:18.370: I/OMXCodec(20584): [OMX.SEC.mp3dec] allocating 5 buffers of size 27648 on output port其中,前面几行为红字,预示着这些提示是SDK中所显示的。网络搜索结论如下:需要在配置文件AndroidManifest.xml中添加如下权限定义:出处是:http://my.oschina.net/tzhuwb/blog/75424看起来,下载ANDROID SDK源码是非常有必要的。其实,只要简单地通过上述字符串搜索源码文件夹应该能够找到对应的源文件及函数名,看起来,分析源码是必需的一关啊。转载地址:http://rwoul.baihongyu.com/