Remove leftover references to adrum and note player

This commit is contained in:
Paul Kaplan 2017-11-22 09:55:02 -05:00
parent d31494fed6
commit dce5316551

View file

@ -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();
}
/**