From 3356fc2d92a80ecfd6ce5a75f7fa90a9a66e6d74 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 3 Jan 2018 21:20:40 +0100 Subject: [PATCH] Dispatching event when calling stop method --- v3/src/sound/webaudio/WebAudioSound.js | 1 + 1 file changed, 1 insertion(+) diff --git a/v3/src/sound/webaudio/WebAudioSound.js b/v3/src/sound/webaudio/WebAudioSound.js index 0702df936..ef1f39b59 100644 --- a/v3/src/sound/webaudio/WebAudioSound.js +++ b/v3/src/sound/webaudio/WebAudioSound.js @@ -141,6 +141,7 @@ var WebAudioSound = new Class({ } // \/\/\/ isPlaying = false, isPaused = false \/\/\/ this.stopAndRemoveBufferSource(); + this.events.dispatch(new SoundEvent(this, 'SOUND_STOP')); return true; }, /**