小游戏的声音播放在安卓上会有200毫秒左右的延迟
- 小游戏的声音播放在安卓上会有200毫秒左右的延迟 - ios的播放正常
-demo public audio_fruitBreakSound = wx.createInnerAudioContext(); public playFruitBreakSound() { if (this.isSound) { this.audio_fruitBreakSound.src = "resource/assets/Sounds/rakeBreak.mp3"; if (GetGameData.Shared().level % 5 == 0) { this.audio_fruitBreakSound.src = "resource/assets/Sounds/fruitBreak.mp3"; } this.audio_fruitBreakSound.play(); } }