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.
我需要立即播放声音,有什么可以做到的吗?
您必须先调用 Player 的 prefetch() 函数。之后,当您调用 start() 时,它将立即开始播放。可能您必须在启动画面期间(可能在不同的线程中)或在您想使用播放器之前的某个地方调用 prefetch()。