解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]
来源:互联网 发布:yy头像psd源码在线制作 编辑:程序博客网 时间:2024/06/07 07:17
游戏开发中使用MediaPlayer播放MP3碰到些诡异问题。
报错信息如下:
<code lang='java' width='auto' height='auto'>MP3Extractor: Unable to resync. Signalling end of stream</code>
使用代码:
//针对指定资源创建播放对象
mPlayer = MediaPlayer.create(ctx, resID);
mPlayer.setVolume(1000, 1000);
//监听播放结束事件
mPlayer.setOnCompletionListener(new OnCompletionListener() {
@Override public void onCompletion(MediaPlayer mp) {
mPlaying = false;
if(mLoop) {
mp.start();
}
}
});
原文地址:解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]| http://orgcent.com/mediaplayer-mp3-unable-resync/
- 解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]
- Unable to partial resync with the slave for lack of backlog (Slave request was: 2595405802583).
- 解决无法安装这个包PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
- Unexpected end of stream.
- java.io.EOFException: Unexpected end of ZLIB input stream解决
- 解决unable unable to locate package问题
- android: unexpected end of stream
- onFailure unexpected end of stream
- Unable to recognize OLE stream
- Unable to Log You on Because of an Account Restriction问题的解决。
- "Unable to get buffer of resource asset file"问题的解决
- 运行时提示,Unable to resolve superclass of L问题的解决
- 使用android工程作为类库Unable to resolve superclass of L问题的解决
- 解决xset: unable to open display ""问题
- 解决Ruby “Unable to require openssl"问题
- 解决unable to load native-library问题
- 解决Qt"Unable to set geometry"问题
- Android Download: unexpected end of stream
- android自定义view--绘制顺序及相关原理
- JAVA使用AXMLPrinter获取APK中Androidmanifest.xml信息
- Android事件传递机制【按键事件】
- Android事件传递机制【Touch事件】
- Android系统内置应用更新或升级后被还原的原因
- 解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]
- 为android系统控件设置样式
- c语言解 等分液体
- C++ operator关键字(重载操作符)
- Mac知识点
- Excel2003和Excel2007对下拉选择和下拉级联选择的操作以及java程序的调用
- android获取屏幕分辨率大小(DisplayMetrics)
- android:TextView设置背景色和文本颜色
- brctl 配置网桥