# Audio

There are two ways to play audio in a mini game:

  • Audio system: specially designed for game audio, with better performance and more complete functions. Features include 3D spatial sound effects, real-time mixing, mixer hierarchy views, snapshots, preset sound effects, and more.
  • Basic audio interface: simple and fast, use the interface wx.createInnerAudioContext to play 2D audio.
点击咨询小助手