首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

解决MediaPlayer有关问题: [MP3Extractor: Unable to resync. Signalling end of stream]

2012-07-15 
解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]?游戏开发中使用Media

解决MediaPlayer问题: [MP3Extractor: Unable to resync. Signalling end of stream]

?

游戏开发中使用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/

热点排行