Skip to content

Commit 3356fc2

Browse files
Dispatching event when calling stop method
1 parent 99accdb commit 3356fc2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ var WebAudioSound = new Class({
141141
}
142142
// \/\/\/ isPlaying = false, isPaused = false \/\/\/
143143
this.stopAndRemoveBufferSource();
144+
this.events.dispatch(new SoundEvent(this, 'SOUND_STOP'));
144145
return true;
145146
},
146147
/**

0 commit comments

Comments
 (0)