阅读背景:

SpriteKit:在播放前将声音文件预加载到内存中?

来源:互联网 

Just wondering if this is possible. Currently, the first time I play a sound file while the app is running, there is a noticeable delay before the sound actually plays (like it's caching it or something). After this it plays instantly without issue, but if I close the app completely and relaunch it, the delay will be back the first time the sound is played. Here is the code I'm using to play the sound:Just wondering if this is possible. Currently,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: