Skip to content

Commit 99accdb

Browse files
Dispatching event when calling resume method
1 parent fbc7264 commit 99accdb

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
@@ -132,6 +132,7 @@ var WebAudioSound = new Class({
132132
}
133133
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
134134
this.createAndStartBufferSource();
135+
this.events.dispatch(new SoundEvent(this, 'SOUND_RESUME'));
135136
return true;
136137
},
137138
stop: function () {

0 commit comments

Comments
 (0)