Class cc.AudioEngine

Class Summary
Constructor Attributes Constructor Name and Description
 
A simple Audio Engine engine API.

Method Summary

Class Detail

cc.AudioEngine()
A simple Audio Engine engine API.

Method Detail

  • <static> cc.AudioEngine.end()
    Stop all music and sound effects
    //example
    cc.AudioEngine.end();
  • <static> {cc.AudioEngine} cc.AudioEngine.getInstance()
    Get the shared Engine object, it will new one when first time be called.
    Returns:
    {cc.AudioEngine}