melonjs
    Preparing search index...

    Function pause

    • pause the specified sound on all channels
      this function does not reset the currentTime property

      Parameters

      • sound_name: string

        audio clip name - case sensitive

      • Optionalid: number

        the sound instance ID. If none is passed, all sounds in group will pause.

      Returns void

      me.audio.pause("cling");