src/components/sound.js
function () {
    var i;
    var sound;

    this.isPlaying = false;
    for (i = 0; i < this.pool.children.length; i++) {
      sound = this.pool.children[i];
      if (!sound.source || !sound.source.buffer || !sound.isPlaying || sound.isPaused) {
        continue;
      }
      sound.isPaused = true;
      sound.pause();
    }
  }
function () {
    var i;
    var sound;

    this.isPlaying = false;
    for (i = 0; i < this.pool.children.length; i++) {
      sound = this.pool.children[i];
      if (!sound.source || !sound.source.buffer || !sound.isPlaying || sound.isPaused) {
        continue;
      }
      sound.isPaused = true;
      sound.pause();
    }
  }
function ( ) { var i ; var sound ; this . isPlaying = false ; for ( i = 0 ; i < this . pool . children . length ; i ++ ) { sound = this . pool . children [ i ] ; if ( ! sound . source || ! sound . source . buffer || ! sound . isPlaying || sound . isPaused ) { continue ; } sound . isPaused = true ; sound . pause ( ) ; } }
Pause all the sounds in the pool.
Pause all the sounds in the pool .