Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 vitamio 播放列表中的音乐,当我切换到另一首歌曲时,我调用了 Mediaplayer.reset(),但在播放下一首歌曲之前中间有噪音。
像这样的代码:
mPlayer.reset(); //noise playing for a second try { mPlayer.setDataSource(station.getUrl()); mPlayer.prepareAsync(); }
我建议先打电话mPlayer.stop()。
mPlayer.stop()