From dce531655191d9ee6fa5afd11315283a40d6857f Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Wed, 22 Nov 2017 09:55:02 -0500 Subject: [PATCH] Remove leftover references to adrum and note player --- src/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index ab273ec..6dccf70 100644 --- a/src/index.js +++ b/src/index.js @@ -90,19 +90,13 @@ class AudioPlayer { } /** - * Stop all sounds, notes and drums that are playing + * Stop all sounds that are playing */ stopAllSounds () { // stop all active sound players for (const soundId in this.activeSoundPlayers) { this.activeSoundPlayers[soundId].stop(); } - - // stop all instruments - this.audioEngine.instrumentPlayer.stopAll(); - - // stop drum notes - this.audioEngine.drumPlayer.stopAll(); } /**