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.
在 AndEngine 中播放声音的时间是否有限制?我试图让我的应用程序播放声音,它只播放大约前 6 秒的曲调。有没有办法改变这个?
您是否播放超过五种声音并使用默认构造函数?如果是这样,则可能正在切断其中一个流以播放新声音。
尝试使用更多同步流初始化 SoundManager。
public SoundManager(final int pMaxSimultaneousStreams)
迟到的答案,但对于更长的声音,你应该使用 Andengine 的音乐类,而不是声音。我相信声音是为了更短的声音效果。