Skip to content

Commit 17985a0

Browse files
Dispatching event when calling play method
1 parent a664714 commit 17985a0

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
@@ -107,6 +107,7 @@ var WebAudioSound = new Class({
107107
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
108108
this.stopAndRemoveBufferSource();
109109
this.createAndStartBufferSource();
110+
this.events.dispatch(new SoundEvent(this, 'SOUND_PLAY'));
110111
return this;
111112
},
112113
pause: function () {

0 commit comments

Comments
 (0)